Search plugin: Or browse by category:

js-minify summary

Plugin Name: js-minify
Version: 0.0.2
Author: @melezhik
Realease Date: 2017-11-29 15:36:48
Short Description: Minify a JavaScript file by using JavaScript::Minifier
Category: utilities
Plugin web page: https://github.com/melezhik/sparrow-plugins/tree/master/js-minify
Download link: js-minify-v0.000002.tar.gz
Latest version link: https://sparrowhub.org/info/js-minify

js-minify documentation

js-minify doc

SYNOPSIS

Minify a JavaScript file by using JavaScript::Minifier.

INSTALL

$ sparrow plg install js-minify

USAGE

CLI:

$ sparrow plg run js-minify \
--param in=/path/to/in-file.js \
--param out=/path/to/out-file.js

Via sparrowdo:

task-run 'js minifier', 'js-minify', %(
    in  => 'in.js',      
    out => '/tmp/out.js',      
);

Author

Alexey Melezhik

See also

JavaScript::Minifier