build: fix compat build type treatment

This commit is contained in:
Evan You
2021-05-08 16:21:06 -04:00
parent 341fa38f9b
commit f2fb8a51a9
3 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{
"extends": "../../api-extractor.json",
"mainEntryPointFilePath": "./dist/packages/<unscopedPackageName>/src/index.d.ts",
"mainEntryPointFilePath": "./dist/packages/vue-compat/src/index.d.ts",
"dtsRollup": {
"publicTrimmedFilePath": "./dist/<unscopedPackageName>.d.ts"
"publicTrimmedFilePath": "./dist/vue.d.ts"
}
}

View File

@@ -4,7 +4,6 @@
"description": "Vue 3 compatibility build for Vue 2",
"main": "index.js",
"module": "dist/vue.runtime.esm-bundler.js",
"types": "dist/vue.d.ts",
"unpkg": "dist/vue.global.js",
"jsdelivr": "dist/vue.global.js",
"files": [