Skip to content
This repository was archived by the owner on May 22, 2022. It is now read-only.

Commit 6642163

Browse files
committed
fix: build confug
1 parent 2b204ed commit 6642163

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

ts-packages/vue-excel-initializer/tsconfig.build.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
"rootDir": "lib"
88
},
99
"include": ["lib/**/*"],
10-
"exclude": ["node_modules", "dist", "lib/src/templates"]
10+
"exclude": ["node_modules", "dist"]
1111
}
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"extends": "../../tsconfig.json",
3-
"types": ["lib"],
4-
"include": ["lib/**/*.ts", "lib/**/*.d.ts", "lib/**/*.tsx"],
5-
"exclude": ["node_modules", "dist"]
3+
"compilerOptions": {
4+
"baseUrl": ".",
5+
"declarationDir": "dist",
6+
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
7+
},
8+
"exclude": ["node_modules", "dist"],
9+
"include": ["lib/**/*.ts", "lib/**/*.d.ts", "lib/**/*.tsx", "lib/**/*.vue"]
610
}

ts-packages/vue-excel-initializer/vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineConfig({
2323
rollupOptions: {
2424
// make sure to externalize deps that shouldn't be bundled
2525
// into your library
26-
input: 'index.ts',
26+
input: './lib/index.ts',
2727
external: ['vue'],
2828
plugins: [],
2929
output: {

0 commit comments

Comments
 (0)