Skip to content

Switch from Java, completely to Node #46

Description

@Chris2011

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.

  • Switch from Java and YUICompressor to NPM and CSSNano.

  • Switch from Java and Closure Compiler to NPM and Google Closure Compiler.

  • Switch from Java and HTMLCompressor to NPM and html-minifier-terser.

  • 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions