Skip to content

Commit

Permalink
fix(grpc-sdk,module-tools): exports structure in package.json, to sol…
Browse files Browse the repository at this point in the history
…ve NextJS issues
  • Loading branch information
kkopanidis committed Jul 19, 2024
1 parent 8bae7be commit 89c0f49
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions libraries/grpc-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"exports": {
".": {
"import": {
"default": "./dist/index.esm.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.esm.js"
},
"require": {
"default": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.esm.js"
}
},
"engines": {
Expand Down
11 changes: 6 additions & 5 deletions libraries/module-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
"exports": {
".": {
"import": {
"default": "./dist/index.esm.js",
"types": "./dist/index.d.ts"
"types": "./dist/index.d.ts",
"default": "./dist/index.esm.js"
},
"require": {
"default": "./dist/index.cjs",
"types": "./dist/index.d.ts"
}
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.esm.js"
}
},
"engines": {
Expand Down

0 comments on commit 89c0f49

Please sign in to comment.