-
Notifications
You must be signed in to change notification settings - Fork 319
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
feat(build): add peer, standalone and esnext builds #269
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks A LOT!!!
Can you add please in the READ.MD how to use each and every build?
I a user wants to import the timeline via npm, how can he consume the full version versus the 'moment-less' version?
Yeah, I plan to do this. This isn't done yet. It should've been a draft PR actually. |
I hope I didn't forget anything. Anyway a changelog:
|
There's one thing I forgot. Don't merge this just yet. |
This is a pretty small investment on our side but can help a lot to the users who want to optimize their bundle size. Well, when it will be deployed in the other projects anyway.
BREAKING CHANGE: The default export is no longer provided. This doesn't do much anyway. In ESM it's possible to do: `import * as visTimeline from "vis-timeline/standalone";` In UMD it just adds a property named `default` which contains the same stuff as the export itself does already. I highly doubt anyone is actually using this in UMD.
Updated changelog:
|
Awesome work! |
🎉 This PR is included in version 7.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Closes #67, closes #12.