Skip to content

Support for UMD builds #3039

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

Merged
merged 1 commit into from
Dec 19, 2014
Merged

Support for UMD builds #3039

merged 1 commit into from
Dec 19, 2014

Conversation

tschaub
Copy link
Member

@tschaub tschaub commented Dec 13, 2014

This adds a umd build configuration option to wrap the build in UMD syntax. If set to true, the build output can be used with a CommonJS module loader (e.g. Browserify), an AMD script loader (e.g. RequireJS), or just loaded with a <script> tag. If this option is specified, the namespace and any compile.output_wrapper options will be ignored.

@elemoine
Copy link
Member

Looks good to me.

@pagameba
Copy link
Member

This is great Tim!

@tschaub
Copy link
Member Author

tschaub commented Dec 19, 2014

I was going to include some additional changes related to publishing on npm, but I'll save those for a separate PR.

tschaub added a commit that referenced this pull request Dec 19, 2014
Support for UMD builds.
@tschaub tschaub merged commit 3d86339 into openlayers:master Dec 19, 2014
@tschaub tschaub deleted the umd branch December 19, 2014 18:02
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.

3 participants