-
Notifications
You must be signed in to change notification settings - Fork 97
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
[WIP] BREAKING CHANGE: full ESM support #2472
base: master
Are you sure you want to change the base?
Conversation
0432433
to
c2e2a6b
Compare
…s from last merge
…still should be resolved at some point
…g this api client
467d2d4
to
f0e17c2
Compare
README.md
Outdated
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.
reminder to add migration.md + link from readme?
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.
".": { | ||
"import": "./dist/esm/index.js", | ||
"require": "./dist/contentful-management.cjs", | ||
"types": "./dist/types/index.d.ts" |
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.
Types should be the first item in the exports btw, as per https://nodejs.org/api/packages.html#exports
Main PR which will turn enable full ESM support for this package. Part of #2334.
Status: Pretty much finished. Reviews welcome!
The changes in this PR will be a BREAKING CHANGE and therefore we need to release it as new major version.
Anything that can be done before will be extracted and listed in #2334