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

chore: declare @maxgraph/core as a module package #397

Merged
merged 2 commits into from
Apr 23, 2024

Conversation

tbouffard
Copy link
Member

The dist folder only contains ESM files and the package.json only declare ESM exports with properties:

  • module
  • exports

Declaring the package as a module will help application that want to add test written in ESM (for example with Jest) to correctly import and run the maxGraph dependency.

Notes

Full ESM exports were introduced in #266

The dist folder only contains ESM files and the package.json only declare ESM exports with
properties:
  - module
  - exports

Declaring the package as a module will help application that want to add test written in ESM (for
example with Jest) to correctly import and run the maxGraph dependency.
@tbouffard tbouffard added the chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...) label Apr 22, 2024
@tbouffard tbouffard marked this pull request as ready for review April 22, 2024 18:09
@tbouffard tbouffard merged commit 496efc5 into main Apr 23, 2024
5 checks passed
@tbouffard tbouffard deleted the chore/declare_core_as_type_module branch April 23, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Build, CI/CD or repository tasks (issues/PR maintenance, environments, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant