Chris2011 / minifierbeans

Plugin to minify JS , CSS and HTML for quicken page load times by reducing the size of js/css/html files.
http://plugins.netbeans.org/plugin/49666/js-css-minify-compress
Apache License 2.0
38 stars 9 forks source link

Switch from Java, completely to Node #46

Open Chris2011 opened 5 years ago

Chris2011 commented 5 years ago

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.

Chris2011 commented 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.

Chris2011 commented 3 years ago

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.