Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR migrates the extension to an ES Module,
"type": "module"
. This means that node expects all*.js
files to be modules, unless otherwise stated by the*.cjs
file extension. I've migrated most configs over to ESM, bar those causing issues or not worth the time, eslint, webpack modules for test app.These changes make it easier to import from the monorepo with modern tooling.
We don't allow
export default
in our app for a handful of reasons, but you'll see it here and many configs expect a default export.More info here, recommended reading https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c