Skip to content

Commit

Permalink
Change package.json's exports to improve compability
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodp committed Dec 11, 2024
1 parent 4deba7e commit b219687
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,13 @@
"source": "index.ts",
"types": "index.d.ts",
"main": "index.cjs",
"exports": "./index.js",
"exports": {
".": {
"import": "./index.esm.js",
"require": "./index.cjs",
"default": "./index.js"
}
},
"module": "index.esm.js",
"unpkg": "index.umd.js",
"browser": "index.umd.js",
Expand Down

0 comments on commit b219687

Please sign in to comment.