Skip to content

Commit bae74b1

Browse files
committed
Vite build fix
1 parent 4aacad4 commit bae74b1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./tsconfig.json",
3+
"compilerOptions": {
4+
"rootDir": ".."
5+
}
6+
}

packages/service/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ export default defineConfig({
4040
plugins: [
4141
dts({
4242
root: __dirname,
43-
entryRoot: 'src'
43+
entryRoot: 'src',
44+
tsconfigPath: './tsconfig.build.json'
4445
})
4546
]
4647
})

0 commit comments

Comments
 (0)