Skip to content

Commit

Permalink
fix: entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Jun 6, 2022
1 parent 8ced9d6 commit 38e9ae8
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,36 @@
],
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"types": "index.d.ts",
"exports": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./esbuild": {
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
},
"./*": "./*"
},
"typesVersions": {
"*": {
"*": [
"./dist/*"
]
}
},
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 38e9ae8

Please sign in to comment.