Skip to content

Commit

Permalink
fix: support "types" condition in "exports" field (#2078)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 3, 2023
1 parent 634cffc commit 66d3a5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"type": "module",
"exports": {
".": {
"types": "./dist/types.d.ts",
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
}
Expand Down
1 change: 1 addition & 0 deletions packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
},
"sideEffects": false,
"exports": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
Expand Down

0 comments on commit 66d3a5e

Please sign in to comment.