Comparing version 3.0.0-beta1 to 3.0.0-beta2
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "3.0.0-beta1", | ||
"version": "3.0.0-beta2", | ||
"repository": { | ||
@@ -24,0 +24,0 @@ "type": "git", |
@@ -7,3 +7,3 @@ Minifyify | ||
*Now with browserify 4 support* | ||
*Now with Browserify 4 & CoffeeScript support* | ||
@@ -27,2 +27,10 @@ Before, browserify made you choose between sane debugging and sane load times. Now, you can have both. | ||
// Your other transforms | ||
bundle.transform(require('coffeeify')); | ||
bundle.transform(require('hbsfy')); | ||
// Minifies code while tracking sourcemaps | ||
// {global: true} lets us also minify browser shims | ||
bundle.transform({global: true}, minifier.transform); | ||
bundle('entry.js') | ||
@@ -32,6 +40,2 @@ // Debug must be true for minifyify to work | ||
// This transform minifies code and tracks sourcemaps | ||
// {global: true} lets you also minify shims | ||
.pipe({global: true}, minifier.transform) | ||
// Consume pulls the source map out of src and transforms the mappings | ||
@@ -38,0 +42,0 @@ .pipe(minifier.consume(function (err, src, map) { |
659400
116