Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save developeranirudhprabhu/c5fb68494c092d4723b06e8cd20eb379 to your computer and use it in GitHub Desktop.
Save developeranirudhprabhu/c5fb68494c092d4723b06e8cd20eb379 to your computer and use it in GitHub Desktop.
Quick tip. Minimizing without a build system
Steps for compressing the files locally (similar to build system)
Requirement:
Sublime text
Package Manager (https://packagecontrol.io/installation)
Steps:
Install sublime text
Install package manager inside sublime as instructed here: https://packagecontrol.io/installation
Open the command palette using: ctrl+shift+p or cmd+shift+p
Type “Install Package”
In the prompt that follows type “YUI compressor”
Post installation again open command palette as mentioned in step 3
Type “Build with: YUI compressor”. If prompted to install java do the needful
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment