react-component-gulp-tasks icon indicating copy to clipboard operation
react-component-gulp-tasks copied to clipboard

[WIP] use gulp-umd instead of browserify-shim

Open jochenberger opened this issue 9 years ago • 1 comments

Bundles created using browserify-shim do not work in AMD enviroments. https://github.com/eduardolundgren/gulp-umd creates proper UMD wrappers and should be able solve problems like https://github.com/JedWatson/react-select/issues/270. I don't have much experience with browserify/gulp/node, but this is what I've come up with. However, when trying the changes on react-select, I end up with an empty dist file.

jochenberger avatar Jan 26 '17 13:01 jochenberger

Maybe rollup-stream is a better alternative: https://github.com/gulpjs/gulp/blob/master/docs/recipes/rollup-with-rollup-stream.md

jochenberger avatar May 19 '17 08:05 jochenberger