Adds a build setting to use Twitter Recess to compile, clean up, and compress your CSS.
- Install node.js and npm.
- Run the command
npm install recess -gto install recess globally.
Clone the repository in your Sublime Text "Packages" directory:
git clone git://github.com/morganestes/sublime-recess.git "Twitter Recess"
The "Packages" directory is located at:
- OS X:
~/Library/Application Support/Sublime Text 3/Packages/ - Linux:
~/.Sublime Text 3/Packages/ - Windows:
%APPDATA%/Sublime Text 3/Packages/
- Download the latest source zipball and extract the files to your Sublime Text "Packages" directory, into a new directory named
Twitter Recess.
Open Recess.sublime-build and change the options to fit your needs. I recommend leaving in --stripColors true since it displays in the ST3 console window weird without it.
- Right-click in the window and select the options from the Recess menu.
Ctrl+Shift+Ron your keyboard for linting,Ctrl+Shift+Alt+Rfor compiling.- Use
Ctrl+Shift+Pto open the Command Pallete. Type "Recess" to get the commands to choose from.
See https://github.com/morganestes/sublime-recess/wiki/Known-Issues for the latest info on known/reported issues for ST2 & ST3.
- Added ST3 support
- Added OS X path
- Added Linux path
- Added
--compileand changed the menu to handle multiple options.
- Initial release
