@samitouri / QOS-React-2 / commits / 51d74ca36c

Temporarily comment out bundle-collapser for JSXTransformer

This will at least make the examples run while we fix the issue.

Cheng Lou committed Jan 19, 2015 at 22:27 UTC 51d74ca36cbf8afa59082819e8133dede82b8bfa
1 file changed +5 -1
grunt/config/browserify.js
+5 -1
@@ -83,7 +83,11 @@ var transformer = {
83 debug: false,
84 standalone: 'JSXTransformer',
85 transforms: [],
86 - plugins: [collapser],
86 + // Source-map-generator uses amdefine, which looks at the type of __dereq__.
87 + // If it's not a string, it assumes something else (array of strings), but
88 + // collapser passes a number; this would throw.
89 +
90 + // plugins: [collapser],
91 after: [es3ify.transform, derequire, simpleBannerify]
92 };
93