Update browserify
Also update bundle.transform call site, which now takes options
Paul O’Shannessy committed
Jan 16, 2014 at 11:01 UTC
c5f0e14985b1d093b9630c00fe78f3a5434b2fa4
2 files changed
+4
-2
grunt/tasks/browserify.js
+3
-1
@@ -46,7 +46,9 @@ module.exports = function() {
46
};
47
48
// TODO: make sure this works, test with this too
49
- config.transforms.forEach(bundle.transform, bundle);
49
+ config.transforms.forEach(function(transform) {
50
+ bundle.transform({}, transform);
51
+ });
52
53
// Actually bundle it up
54
var _this = this;
package.json
+1
-1
@@ -39,7 +39,7 @@
39
},
40
"devDependencies": {
41
"benchmark": "~1.0.0",
42
- "browserify": "~2.36.1",
42
+ "browserify": "~3.20.0",
43
"coverify": "~0.1.1",
44
"envify": "~1.0.1",
45
"es5-shim": "~2.1.0",