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

Change rollup.config to bundle deps in esm.js #3221

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

ayjayt
Copy link
Contributor

@ayjayt ayjayt commented Feb 4, 2024

#3217

This pull request changes rollup config to bundle deps into the non min version of ESM.

why:

  • browsers can't import cjs, so all deps must be esm
  • not all deps to cytoscape are served as esm

@maxkfranz maxkfranz self-requested a review February 12, 2024 23:01
@maxkfranz maxkfranz changed the title Change roll.config to bundle deps in esm.js Change rollup.config to bundle deps in esm.js Feb 20, 2024
@maxkfranz maxkfranz merged commit e8f6919 into cytoscape:unstable Feb 20, 2024
1 check passed
maxkfranz added a commit that referenced this pull request Feb 20, 2024
Ref:

- Improving ESM support and documentation, esp. for browsers #3217
- Change rollup.config to bundle deps in esm.js #3221
maxkfranz added a commit that referenced this pull request Feb 20, 2024
Ref:

- Improving ESM support and documentation, esp. for browsers #3217
- Change rollup.config to bundle deps in esm.js #3221
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.

2 participants