- Total 25K
- Win 16K
- OS X 5K
- Linux 3K
|Mar 19||Mar 18||Mar 17||Mar 16||Mar 15||Mar 14||Mar 13||Mar 12||Mar 11||Mar 10||Mar 9||Mar 8||Mar 7||Mar 6||Mar 5||Mar 4||Mar 3||Mar 2||Mar 1||Feb 28||Feb 27||Feb 26||Feb 25||Feb 24||Feb 23||Feb 22||Feb 21||Feb 20||Feb 19||Feb 18||Feb 17||Feb 16||Feb 15||Feb 14||Feb 13||Feb 12||Feb 11||Feb 10||Feb 9||Feb 8||Feb 7||Feb 6||Feb 5||Feb 4||Feb 3||Feb 2|
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