irundaia / sbt-sassify

sbt-web plugin for Sass files
Apache License 2.0
68 stars 17 forks source link

Use .min.css extension for minified output #44

Closed Mat2095 closed 4 years ago

Mat2095 commented 4 years ago

When using compression in sbt-less, the output-file will end with .min.css. https://github.com/sbt/sbt-less/blob/1.1.2/src/main/resources/lessc.js#L49

It would be nice if sbt-sassify could do the same. However I see how this would break existing projects. Maybe it could be added as an option? I'm not sure if that would be the right thing.

irundaia commented 4 years ago

I'll try to get a version out today where you can manually set the file extension.

irundaia commented 4 years ago

I just released version 1.5.0 with the option to set the file extension. By default it is set to css such as not to break older build. Can you check whether this works out for you?

Mat2095 commented 4 years ago

Yes, it works perfectly. Thank you!