{
"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"
}
}
\ No newline at end of file
"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": [
process.exit(1)
}
+ output.exports = 'auto'
output.sourcemap = !!process.env.SOURCE_MAP
output.externalLiveBindings = false
output.name = packageOptions.name
}
- const shouldEmitDeclarations = process.env.TYPES != null && !hasTSChecked
+ const shouldEmitDeclarations =
+ pkg.types && process.env.TYPES != null && !hasTSChecked
const tsPlugin = ts({
check: process.env.NODE_ENV === 'production' && !hasTSChecked,