Skip to content

Conversation

jochenberger
Copy link

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 JedWatson/react-select#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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant