Skip to content

Commit 51d74ca

Browse files
committed
Temporarily comment out bundle-collapser for JSXTransformer
This will at least make the examples run while we fix the issue.
1 parent c668676 commit 51d74ca

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

grunt/config/browserify.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,11 @@ var transformer = {
8383
debug: false,
8484
standalone: 'JSXTransformer',
8585
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],
8791
after: [es3ify.transform, derequire, simpleBannerify]
8892
};
8993

0 commit comments

Comments
 (0)