- Total 71K
- Win 54K
- Mac 10K
- Linux 6K
|Jun 6||Jun 5||Jun 4||Jun 3||Jun 2||Jun 1||May 31||May 30||May 29||May 28||May 27||May 26||May 25||May 24||May 23||May 22||May 21||May 20||May 19||May 18||May 17||May 16||May 15||May 14||May 13||May 12||May 11||May 10||May 9||May 8||May 7||May 6||May 5||May 4||May 3||May 2||May 1||Apr 30||Apr 29||Apr 28||Apr 27||Apr 26||Apr 25||Apr 24||Apr 23||Apr 22|
Sublime HTML5 Minifier
This plugin can be installed by searching for HTML Minifier on Package Control in Sublime Text 3.
You can install Package Control by following these steps: https://sublime.wbond.net/installation
In order to minify code, Click on the Tools menu and click Minify Current File. A .min file be added onto the current directory where you are working.
Alternatively, Right Click on the Editor area or the sidebar and click 'Minify HTML5 File'.
For example, if you are working on a file 'main.css' in the location 'C:\Projects\' then a minified file will be created at 'C:\Projects\' with the name main.min.css making the full path 'C:\Projects\main.min.css'.
This is done to keep two versions of the codebase, one minified and the other development version.
If you want to overwrite your file, such that the minified version of say
main.html should be written to
main.html inplace of
main.min.html, click on Tools - Minify HTML5 File (modify existing)
Press Ctrl+Shift+P and then type
Minify File. You have two options:
If you want to create a new file, then click on “HTML Minfier: Minify File (create new)” or if you want to write to the current file, then click on “HTML Minfier: Minify File (modify existing)”
Version 1.1 contains the following changes in the plugin:
Minifying Process runs in a separate thread
Source has been streamlined on the principles of OOP
Already Minified versions of the file will open up in the Sublime Window, instead of no output being shown.
- Performance Optimisations
- Bug Fixing
- Module changing for better support
- Mac OS X Bug fixes
- Code uses PEP8
- Better Linux Support
- Ability to Minify Files in the same file instead of creating a new file
- Commands for Command Pallete
- Switch Menu to Tools
Created By Pradipta aka GeekPradd