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