Closed bishless closed 12 years ago
With build variants you would open the command palette and look for "Build: Minify", note this will store the file as .min.css. You can set this ad a keyboard binding if you want, but I don't see the point as I don't Minify until production
Yeah... that's what I thought... but an entry like that doesn't exist in my Build menu.
Not the build menu, but the Command Palette (Ctrl + Shift + P), variants show up there as "Build: VARIANT NAME"
Ah! Thank you! Now just need to tweak the build config to save up a level in a CSS folder.
Awesome.
First of all, I <3 this package so much.
Second, I was working in ST2 last night, went to build my less file (had it set to build using MIN.LESS) and it failed out. Went looking in the menu, and now MIN.LESS is missing as a choice. Further poking around revealed that MIN.LESS.sublime-build is now missing from the package folder as well.
I see the LESS.sublime-build now has a "variants" section in it... How do I use it? I don't see the variant listed in the ST2 menu. Do I need to setup a custom keybinding?