Skip to content

Commit

Permalink
fix: move default entry file to last place to resolve nextjs error
Browse files Browse the repository at this point in the history
  • Loading branch information
gutentag2012 committed Jun 27, 2024
1 parent 20286b2 commit 0ff0855
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
8 changes: 4 additions & 4 deletions packages/dev-tools-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/cjs/index.d.ts"
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
Expand Down
8 changes: 4 additions & 4 deletions packages/form-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/cjs/index.d.ts"
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
Expand Down
8 changes: 4 additions & 4 deletions packages/form-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/cjs/index.d.ts"
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
Expand Down
8 changes: 4 additions & 4 deletions packages/validation-adapter-zod/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
"exports": {
".": {
"import": {
"default": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts"
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/cjs/index.d.ts"
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
},
"./package.json": "./package.json"
Expand Down

0 comments on commit 0ff0855

Please sign in to comment.