Open Chris2011 opened 5 years ago
That means a whole rewrite of the plugin, of the options and requires installed node. For a webdeveloper there shouldn't be a problem with that. Please give some feedback, what do you think about the plan.
Now all actions for single files were moved from Java based to node based. This is done. Just there are the java based implementations for the copy minifed code.
In case that this plugin will/can minify JS/CSS/HTML and JSON we should get rid of finding Java wrapper for that and using Node and NPM packages. For Node we have a huge amount of modern and maintained libs for minify JS (UglifyJS, Google Closure Compiler, etc.) CSS (CSS Nano, etc.), HTML (HTML Minifier, etc.) and JSON (TBD). So it makes much more sense to change the options to add the CLIs for those packages as we have it for NPM, Bower, Sass, Less, Grunt, Gulp, etc. We will be more flexible and we will get more updates.
[x] Switch from Java and YUICompressor to NPM and CSSNano.
[x] Switch from Java and Closure Compiler to NPM and Google Closure Compiler.
[x] Switch from Java and HTMLCompressor to NPM and html-minifier-terser.
[x] Switch from Java and XMLCompressor to NPM and minify-xml.
[ ] Switch from Java and YUICompressor to NPM and CSSNano for minifing files in folders.
[ ] Switch from Java and Closure Compiler to NPM and Google Closure Compiler for minifing files in folders.
[ ] Switch from Java and HTMLCompressor to NPM and html-minifier-terser for minifing files in folders.
[ ] Switch from Java and XMLCompressor to NPM and minify-xml for minifing files in folders.
[ ] Switch from Java and YUICompressor to NPM and CSSNano for copy minified selected code.
[ ] Switch from Java and Closure Compiler to NPM and Google Closure Compiler for copy minified selected code.
[ ] Switch from Java and HTMLCompressor to NPM and html-minifier-terser for copy minified selected code.
[ ] Switch from Java and XMLCompressor to NPM and minify-xml for copy minified selected code.