++ed by:

1 non-PAUSE user.

Михаил Че
and 1 contributors

Доброго всем

¡ ¡ ¡ ALL GLORY TO GLORIA ! ! !

NAME

Mojolicious::Plugin::AssetPack::Pipe::CombineFile - Store combined asset to cache file instead of memory.

SYNOPSIS

  $app->plugin('AssetPack::Che' => {
          pipes => [qw(Sass Css JavaScript CombineFile)],
          CombineFile => { gzip => {min_size => 1000},}, # pipe options
          process => {
            'foo.html'=>['templates/foo.html', 'templates/bar.html',],
            ...,
          },
        });

CONFIG

CombineFile determine config for this pipe module. Hashref has keys for format extensions and also:

gzip - options.

ROUTE

/assets/*topic will auto place.

Get combined asset by url

  <scheme>//<host>/assets/foo.html

SEE ALSO

Mojolicious::Plugin::AssetPack::Che

AUTHOR

Михаил Че (Mikhail Che), <mche[-at-]cpan.org>

BUGS / CONTRIBUTING

Please report any bugs or feature requests at https://github.com/mche/Mojolicious-Plugin-AssetPack-Che/issues. Pull requests also welcome.

COPYRIGHT

Copyright 2016-2018 Mikhail Che.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.