Fixed skipremin behavior and added two new options #34

Merged
merged 2 commits into from Sep 27, 2012

Conversation

Projects
None yet
2 participants
Contributor

isochronous commented Sep 27, 2012

I discovered that the skipremin option would not add any .min. files to the bundle.min.css|js file, so I fixed that implementation.
I also did not like having bundler creating an individual .min file for every .js or .css file listed in a bundle, so I created the outputbundleonly option to force bundler to only output the bundle.min.css|js and bundle.css|js.
Then I decided I wanted ONLY the bundle.min.css|js file, so I added another option: bundleminonly. When used, it only outputs the minimized version of the bundle file (complete with the .min. filename segment) and skips creating the non-minimized version.

isochronous added some commits Sep 26, 2012

@isochronous isochronous update documentation to reflect latest code change af15e68
@isochronous isochronous two new options: outputbundleonly, bundleminonly
Added two new options and fixed implementation of skipremin option.
Skipremin option would actually not bundle in .min. scripts to the
bundle.min.* file.
outputbundleonly option skips creation of individual .min files for each
file in the bundle - it only outputs the "whole" bundle file.
bundleminonly option skips creation of the non-minimized bundle file,
and only writes the minimized version to disk.
Updated documentation to reflect these new options.
db2a32c

mythz merged commit e401568 into ServiceStack:master Sep 27, 2012

Owner

mythz commented Sep 27, 2012

cool sounds like winning features

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment