Nile::Plugin::Minify::Js - Javascript minifier plugin for the Nile framework.
$app->plugin->minify->js($output_file => $file1, $file2, $url1, $url2, ...); $app->plugin->minify->js('site.js' => '/js/menu.js', '/js/news.js'); my $path = $app->var->get("js_dir"); $app->plugin->minify->js( $app->file->catfile($path, "app.js") => $app->file->catfile($path, "jquery.tweet.js"), $app->file->catfile($path, "jquery.loading.js"), $app->file->catfile($path, "jquery.likes.js"), "http://domain.com/js/menu/menu.js", );
This project is available on github at https://github.com/mewsoft/Nile.
Please visit the project's homepage at https://metacpan.org/release/Nile.
Source repository is at https://github.com/mewsoft/Nile.
See Nile for details about the complete framework.
Ahmed Amin Elsheshtawy, احمد امين الششتاوى <mewsoft@cpan.org> Website: http://www.mewsoft.com
Copyright (C) 2014-2015 by Dr. Ahmed Amin Elsheshtawy احمد امين الششتاوى mewsoft@cpan.org, support@mewsoft.com, https://github.com/mewsoft/Nile, http://www.mewsoft.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Nile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Nile
CPAN shell
perl -MCPAN -e shell install Nile
For more information on module installation, please visit the detailed CPAN module installation guide.