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

Introduce Webpack #24

Merged
merged 1 commit into from
May 22, 2019
Merged

Introduce Webpack #24

merged 1 commit into from
May 22, 2019

Conversation

scottyantipa
Copy link
Contributor

This does not represent any functional change to the behavior of the library. Since this component is getting reasonably complex, this diff adds bundling of files via Webpack. I have broken off a first small piece into geometry.js just as an example, and we should continue to split things up further.

Notes:

This does not represent any functional change to the behavior of the library. Since this component is getting reasonably complex, this diff adds bundling of files via Webpack. I have broken off a first small piece into geometry.js just as an example, and we should continue to split things up further.

Notes:
- Our webpack config emits a umd compatible module. Currently in master we only support es6 style modules.
- See the notes in ./copy-to-example.sh to see how we are using the dist of this lib in the example app
- Some useful resources: https://webpack.js.org/guides/author-libraries/ and https://github.com/kalcifer/webpack-library-example
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