You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pinksynth
There currently isn't a way. And this prompted me in thinking that adding ".min" automatically if you passed a minified flag actually doesn't make sense. Not to mention that the '--minified` flag is missing.
If I changed to the following, would that be helpful? less-watch-compiler --minified src dist main.less will output dist/main.css instead of dist/main.min.css
Good question about the --minified -> .min thing, I would guess that most people prefer it the way it is. On Monday I’ll run two watches concurrently, one with the flag, and see if they give me what I need. My company’s asset pipeline is a little older so every Less compile of ours is intended to have an unminified version and a minified version, instead of using dev/prod environments. Thanks for your time!
I feel like there is already a way to do this but I'm not sure of it:
It would be great if a custom output name were possible. For instance:
less-watch-compiler src dist main.less main.min.css
would producemain.min.css
instead ofmain.css
.Thank you!
The text was updated successfully, but these errors were encountered: