Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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