Closed kuxiongxiong closed 12 years ago
Are you going to ctrl+shift+P, typing minify, and selecting "Build: Minify"? On Aug 10, 2012 1:51 AM, "feiqiao" notifications@github.com wrote:
can not minifyed css file,OS:XP config file from LESS-normal.sublime-build-choice
— Reply to this email directly or view it on GitHubhttps://github.com/berfarah/LESS-build-sublime/issues/17.
no,I use the build system "less". I want compile less file to minifyed css file
how to enable the minify css options? the previous version works
That's how you Minify the less file into css. On Aug 10, 2012 1:57 AM, "feiqiao" notifications@github.com wrote:
how to enable the minify css options?
— Reply to this email directly or view it on GitHubhttps://github.com/berfarah/LESS-build-sublime/issues/17#issuecomment-7636408.
in the previous version I can have 2 build system,one" less" which compile less to common css file without minifed, the another "less- min " which compile less to minifyed css file
can there be any build system?
In the newest version of the plugin these were put into a single build system, with the Minify being the variant. You can tie a keyboard shortcut to run the variant, thereby minifying the less file; but as of now there is only one build system so that you can set your build system (in the menu) to automatic.
To keymap say Ctrl+Shift+B to minifying the less script, you would add something like below to your user keymappings { "keys": ["ctrl+shift+b"], "command": "build", "args": {"variant": "Minify"} }
Hope that helps
On Fri, Aug 10, 2012 at 2:06 AM, feiqiao notifications@github.com wrote:
can there be any build system?
— Reply to this email directly or view it on GitHubhttps://github.com/berfarah/LESS-build-sublime/issues/17#issuecomment-7636533.
yes.it works ,but one more question:the output file is x.less -> x.min.css
can x.less -> x.css? without the ".min"
Why would you want that? It's a minified output, the filename should reflect that.
I'd recommend in your server side choose you have a debug flash, if it's on it serves up non minified code, if it's off it serves the minified version On Aug 10, 2012 2:28 AM, "feiqiao" notifications@github.com wrote:
yes.it works ,but one more question:the output file is x.less -> x.min.css
can x.less -> x.css? without the ".min"
— Reply to this email directly or view it on GitHubhttps://github.com/berfarah/LESS-build-sublime/issues/17#issuecomment-7636896.
thanks~
can not minifyed css file,OS:XP config file from LESS-normal.sublime-build-choice