bowerstatic icon indicating copy to clipboard operation
bowerstatic copied to clipboard

first attempt for minified versions

Open mrijken opened this issue 10 years ago • 1 comments

When a minified version of a resource exists (in same path, just with '.min' just in front of the extension) , that resource is added to the collection and it will be used by the injector in stead of the original resource.

See issue #33

mrijken avatar Dec 18 '14 00:12 mrijken

It's a neat experiment, but I won't be merging this one; I think it's not general enough to be part of BowerStatic. I'll only consider accepting a patch that makes behavior like this pluggable, not the behavior itself.

We need to discuss minification (and bundling) strategies on the issue; we need to first investigate what options there exist for the person creating a bower package - a grunt plugin or whatever. I'll go back to issue #33 for that.

faassen avatar Dec 18 '14 11:12 faassen