Skip to content

Commit

Permalink
package,json exports: regression bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ncking committed May 29, 2024
1 parent 7e7cd91 commit 91b2c3d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
"type": "module",
"sideEffects": false,

"main": "./dist/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",

"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/index.module.js",
"default": "./src/index.ts"
"default": "./dist/index.cjs"
},
"./utils": {
"types": "./utils/dist/index.d.ts",
"module": "./utils/dist/index.module.js",
"default": "./utils/src/index.ts"
"default": "./utils/dist/index.cjs"
},
"./redux": {
"types": "./redux/dist/redux/src/index.d.ts",
"module": "./redux/dist/index.module.js",
"default": "./redux/src/index.ts"
"default": "./redux/dist/index.cjs"
},
"./package.json": "./package.json",
"./redux/package.json": "./redux/package.json",
Expand Down
2 changes: 1 addition & 1 deletion redux/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "redux",
"type": "module",
"main": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts",
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion utils/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "utils",
"type": "module",
"main": "./src/index.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.module.js",
"types": "./dist/index.d.ts"
}

0 comments on commit 91b2c3d

Please sign in to comment.