fix(vue-vapor): exports types

This commit is contained in:
三咲智子 Kevin Deng 2024-02-09 21:09:31 +08:00
parent 6cd9298adc
commit 9bc333e239
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 6 additions and 2 deletions

View File

@ -14,13 +14,17 @@
],
"exports": {
".": {
"types": "./dist/vue-vapor.d.ts",
"import": {
"types": "./dist/vue-vapor.d.mts",
"node": "./index.mjs",
"default": "./dist/vue-vapor.runtime.esm-bundler.js"
},
"require": {
"types": "./dist/vue-vapor.d.ts",
"node": {
"production": "./dist/vue-vapor.cjs.prod.js",
"development": "./dist/vue-vapor.cjs.js",
"default": "./index.js"
},
"default": "./index.js"
}
},