Open kennethormandy opened 10 years ago
It would also be great if terraform also minifies *.css
, *.html
and *.js
files which were not preprocessed. Right now a file is only minified if it's also preprocessed.
Minification should be configurable: on/off - maybe even the module to use.
You’re right, we need to minify those too. I don’t think it’ll be configurable though, except maybe if you’re using Harp as middleware.
Not opposed to this. It just isn't super urgent. It seems fairly low risk to make it configurable.
Suggested by @silentrob, perhaps we shouldn’t use any of the preprocessor’s compression, and instead use something else to do it consistently? ianstormtaylor/minify looks like it could be useful for that.