Skip to content

Commit

Permalink
fix: exports type
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jul 7, 2023
1 parent 76485bc commit e71a295
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,29 +28,30 @@
"types": "index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"types": "./dist/vite.d.ts",
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"types": "./dist/webpack.d.ts",
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"types": "./dist/rollup.d.ts",
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./esbuild": {
"types": "./dist/esbuild.d.ts",
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
},
"./cores": {
"require": "./dist/cores.js",
"import": "./dist/cores.mjs"
},
"./*": "./*"
},
"typesVersions": {
Expand Down

0 comments on commit e71a295

Please sign in to comment.