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

Dist files are too havy #6

Open
r3code opened this issue Mar 19, 2020 · 0 comments
Open

Dist files are too havy #6

r3code opened this issue Mar 19, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@r3code
Copy link
Owner

r3code commented Mar 19, 2020

Dist UMD is too heavy because it includes vis-network which adds 700kb and if removed the UMD becomes ~30kb.

  1. make vis-network a peer dependency.
  2. change vis.config to externalize dependencies
  3. update readme install command, should include peer dependencies now
@r3code r3code changed the title Externalize vis-network dependency from dist Dist files are too havy Mar 19, 2020
@r3code r3code added the enhancement New feature or request label Jun 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant