fix: exports `client` and `theme` correctly

with types and js source
pull/914/head
JounQin 3 years ago
parent 774275e6cb
commit 24b01685cc

@ -13,8 +13,14 @@
"require": "./dist/node-cjs/index.cjs"
},
"./dist/client/*": "./dist/client/*",
"./client": "./client.d.ts",
"./theme": "./theme.d.ts"
"./client": {
"types": "./client.d.ts",
"default": "./dist/client/index.js"
},
"./theme": {
"types": "./theme.d.ts",
"default": "./dist/client/theme-default/index.js"
}
},
"bin": {
"vitepress": "bin/vitepress.js"

Loading…
Cancel
Save