Skip to content

Commit

Permalink
Move to ESM by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Dec 27, 2023
1 parent 45aa81e commit 0d6c795
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@
"bugs": {
"url": "https://github.com/nvie/itertools/issues"
},
"type": "commonjs",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"type": "module",
"types": "./dist/index.d.cts",
"main": "./dist/index.cjs",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"module": "./dist/index.mjs",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"module": "./dist/index.js",
"default": "./dist/index.cjs"
}
}
},
Expand Down

0 comments on commit 0d6c795

Please sign in to comment.