fmarcia / uglifycss

Port of YUI CSS Compressor from Java to NodeJS
MIT License
284 stars 37 forks source link

[Feature]Add option to export to file #66

Closed KenBonny closed 6 years ago

KenBonny commented 6 years ago

I use JetBrains Rider to develop and I want to add a file watcher to my css files. I'd love to use your very nice npm package to do this, but I need an option to export to a file. I can't use the command line > style.min.css option.

Could you add an option such as -destination style.min.css.

fmarcia commented 6 years ago

Hi KenBonny,

There's an option for this: --output <filename>

KenBonny commented 6 years ago

I can't believe I missed that. I rectified my incorrect blog post and posted an update on twitter as well. Thanks!

https://kenbonny.net/2018/08/13/minifying-js-and-css-files-with-rider-file-watchers/