hkaraoglu / js-css-minify-compress

Plugin to minify JS , CSS and HTML for quicken page load times by reducing the size of js/css/html files.

Home Page:http://plugins.netbeans.org/plugin/49666/js-css-minify-compress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking for Contributors (Feel free to contact me if you are interested : christian.lenz@gmx.net)

ATTENTION

If you get an error which is similar to this:

...
[ERROR] in -
  3:7:syntax error
[ERROR] in -
  1:0:Compilation produced 2 syntax errors.
org.mozilla.javascript.EvaluatorException: Compilation produced 2 syntax errors.
...

This happens in case that the YUICompressor, which is used to minify JS, can't handle ES6 syntax. Please check your JS code before, on this page: http://refresh-sf.com/

If you got the same or similar error, it is related to the YUICompressor, which was mentioned. It would be great to go to the repo of the YUICompressor (https://github.com/yui/yuicompressor/issues) and create or vote for similar tickets there. Thx.

JS CSS Minify Compress

Plugin to minify JS , CSS and HTML for quicker page load times by reducing the size of js/css/html files. This plugin remove all unnecessary characters from source code, without changing its functionality. These unnecessary characters usually include white space characters, new line characters, comments, and sometimes block delimiters, which are used to add readability to the code but are not required for it to execute.

  • To minify all js , css or html , right click on folder in netbeans and select Minify WEB Content option ; it will minify all css & js file.
  • To minify single js/css/html file , right click on js/css/html file in netbeans and select Minify JS/CSS/HTML option to minify file.

Also optimize by compressing image PNG/JPEG (Currently Supported format) and provides other functionality such as image Base64 Encoder/Decoder .

What does it do?

1- Minify JS File
2- Minify JS Source Code Snippet by selecting in editor
3- Minify CSS File
4- Minify CSS Source Code Snippet by selecting in editor
5- Minify HTML File
6- Minify HTML Source Code Snippet by selecting in editor
7- Minify XML File
8- Minify XML Snippet by selecting in editor
9- Minify JSON File
10- Minify JSON Snippet by selecting in editor
11- Log Evaluation Input/Output File Size , Space Reduced Percentage , Total Time Taken ,Individual Log appended to file
12- Image Base64 Encoder/Decoder
13- Image PNG/JPEG Compress (Currently Supported format)

Communication

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

If you like:heart: this project, don't forget:blush: to give us a star:star2: on GitHub!

About

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

License:Apache License 2.0


Languages

Language:Java 100.0%