Skip to content

Add package.json exports property - #94

Merged
plegner merged 2 commits into
mathigon:masterfrom
jirihon:patch-1
Apr 9, 2022
Merged

Add package.json exports property#94
plegner merged 2 commits into
mathigon:masterfrom
jirihon:patch-1

Conversation

@jirihon

@jirihon jirihon commented Apr 6, 2022

Copy link
Copy Markdown
Contributor

This allows modern build systems (vite) to properly use the correct module type (ESM). See chartjs/Chart.js#9597 for more details. It would be great to add the same exports property also to the other mathigon packages.

jirihon and others added 2 commits April 6, 2022 11:46
This allows modern build systems (vite) to properly use the correct module type (ESM). See sveltejs/kit#928 for more details.
@plegner
plegner merged commit 5592f04 into mathigon:master Apr 9, 2022
@plegner

plegner commented Apr 9, 2022

Copy link
Copy Markdown
Member

Thanks @jirihon! merged, except for the type: module property which breaks existing imports in other repos.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants