Extension Details

- Minifier
- by Abattoir Software
- 3 Recent Installs | 3 Total Installs
- Minifies JS and CSS files on save
- Repository
- Bug Reports
-
Read & Write Files
-
Launch Subprocesses
-
This extension is allowed to:
Readme
Minifier
Minifier provides the ability to save compressed JavaScript and CSS file. It uses the YUI Compressor v2.4.9 for CSS and Google Closure v2020601 for JavaScript.
This was my first attempt at a Nova extension and an attempt to migrate from Eclipse. This extension is based on Eclipse's Minifier plug-in, with the preferences I use for work projects for the Google Closure: --warning_level QUIET --compilation_level SIMPLE and to generate the source map
(Option to change settings may come in the future)
Requirements
- Java (11+) - The extension is packed with the jars for YUICompressor (v2.4.9) and Google Closure Compiler (v202061).
Usage
Minifier runs when ever you save a JavaScript file (".js") that is in a "js/" folder or it's subfolder
or a CSS file (".css") that is in a "css/" folder or it's subfolder.
If the minification fails, it will add an Issues to the sidebar now.
Configuration
None yet.
Release Notes
Version 1.0.7
- Updated Google Closure to v20220601 to allow minifying
??
Version 1.0.6
- Updated YUI Compressor to latest in repo with fix for
calc()with spacing in it!
Version 1.0.5
- JS errors now reported in issue sidebar
Version 1.0.4
- Fixed the sourceMappingUrl
Version 1.0.3
- Changed notification to not auto-remove
Version 1.0.2
- Change how minified file name are generated
Version 1.0.1
- Fix for Adobe Animate files throwing errors about "Object literal contains illegal duplicate key
Version 1.0
- Initial release.