sfJsMinifyPlugin - 0.2.0

js minify plugin

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source | Show as Markdown

JsMinifyPlugin

JsMinifyPlugin is based on js_minfy script. It adds two CLI tasks, minify and restore your js script in web/js directory.

When plugin is installed you could see two new CLI tasks : minify and resotre

$ ./symfony jsminifier::minify script_name

the js-file script_name will be minified and a copy of script name file will be created

$ ./symfony jsminifier::restore script_name   

the js-file script_name will be restored ( in case backup-file script_name_old is exists)

If script_name parameter skipped, than all files will be minified or restored.

Contacts

Contact mail: roll.dev@gmail.com