How to minify CSS, JS, LESS, SASS?

Minify CSS, JS is very common task for website load time optimization.

Read this tutorial to minify your CSS, JS, SASS, LESS files on windows by “Koala”.

Step:1 Download it from http://koala-app.com/

Step:2 Open Koala (Start->Koala->Koala.exe”) and drag and drop your working folder in Koala like this:

Step-1 Drag and Drop Working Folder
Drag and Drop Working Folder

Step-3: Click “refresh” to see all CSS, JS, LESS, SASS files list

step-2-click-refresh-to-see-all-files
Step-4: Check “Original File” and “Compressed / Compressed File”. You can manually change it as per your requirement. Refer “Step-5” for this.

step-3-original-file-with-output-file-path
Step-5: Set “Output path” for compressed file.

step-4-right-click-on-file-to-set-output-path
Step-6: You can also check “Auto Compile” option to compile it at every single change.

step-5-select-compiler-as-per-requirement
Step-7: Set “Output path” for compressed file.

step-6-check-auto-compile
Step-8: Click on compile to create new minify file.

step-7-click-on-compile-to-minify-it

Advertisements