Skip to content

Commit

Permalink
Define module entry points for ESM and CommonJS in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
1aron committed Dec 12, 2024
1 parent 8048f4d commit 01afbee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/extractor.vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
"jsnext:main": "./dist/index.mjs",
"esnext": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
Expand Down

0 comments on commit 01afbee

Please sign in to comment.