Skip to content

Commit

Permalink
chore: add "modules" to let old bundlers to use esm
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp authored Apr 12, 2024
1 parent 3cbcde7 commit 590b56a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "2.1.3",
"description": "Modify JavaScript code, generate source map for the modification.",
"main": "index.js",
"module": "esm.mjs",
"exports": {
"import": "./esm.mjs",
"require": "./index.js"
Expand Down

0 comments on commit 590b56a

Please sign in to comment.