-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Output ESM files w/
.mjs
when appropriate (#950)
* fix: Output ESM w/ .mjs ext when pkg type is cjs * docs: Adding changeset * Update README.md * Update README.md Co-authored-by: Jason Miller <[email protected]> * chore: Add warning for new ESM output extension behavior * Update src/index.js Co-authored-by: Jason Miller <[email protected]> Co-authored-by: Jason Miller <[email protected]>
- Loading branch information
1 parent
242754f
commit 6f6e080
Showing
4 changed files
with
317 additions
and
297 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'microbundle': minor | ||
--- | ||
|
||
Microbundle will now output ESM using `.mjs` as the file extension when the package type is CJS |
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.