rstacruz/sinatra-assetpack — Issue #30: JS Compression per package
Author: pirukire
Created: 2012-01-11 15:04:57+00:00
State: open

In a web project it's common to have a vendors directory with already (very) compressed js (as jquery).

It would be nice to specify different compression strategies per package. That way vendor scripts would not need to be re-compressed.

It would take a parameter to identify the package. For example:

```
js :app, [
'/js/app/**/*.js'
]

js :vendor, [
'/js/vendor/**/*.js'
]

js_compression :jsmin, :app
js_compression false, :vendor
```

What do you think?