Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESM modules can use `export default` to expose their plugin or preset. This does not add support for config files in ESM just yet. * Add support for plugins in ESM format w/ an `.mjs` extension * Add support for plugins in ESM format w/ a `.js` extension if the nearest `package.json` has a `type: 'module'` * Add support for interop bundles (CJS w/ `__esModule: true` field)
- Loading branch information
Showing
14 changed files
with
214 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.