Skip to content

Commit

Permalink
Make package.json exports more liberal
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Sep 13, 2024
1 parent 35cf7ca commit 6a5becf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@
"source": "./src/index.ts",
"types": "./dist/cjs/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
},
"./*": "./*"
},
"scripts": {
"build": "yarn build-esm && yarn build-cjs && yarn build-cjs-package",
Expand Down

0 comments on commit 6a5becf

Please sign in to comment.