sintaxi / terraform

Asset pipeline for the Harp Web Server.
102 stars 101 forks source link

Minify consistently #30

Open kennethormandy opened 10 years ago

kennethormandy commented 10 years ago

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.

fluidsonic commented 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.

kennethormandy commented 10 years ago

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.

sintaxi commented 10 years ago

Not opposed to this. It just isn't super urgent. It seems fairly low risk to make it configurable.