Skip to content

Commit

Permalink
🔧 add build tsconfig for vercel build
Browse files Browse the repository at this point in the history
  • Loading branch information
csc530 committed Aug 10, 2024
1 parent 9683f13 commit 567cccc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 7 additions & 0 deletions tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"references": [
{
"path": "./tsconfig.json"
},
]
}
9 changes: 4 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
{
"files": [],
"compilerOptions": {
"noEmit": true,
},
"references": [
{
"path": "./tsconfig.node.json"
},
{
"path": "./tsconfig.app.json"
}
],
"compilerOptions": {
"isolatedModules": true,
"verbatimModuleSyntax": true
}
]
}
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export default defineConfig({
VueDevTools(),
checker({ typescript: true, vueTsc: true }),
],
build: {
reportCompressedSize: true,
},
resolve: {
alias: {
"@": fileURLToPath(new URL("./src/", import.meta.url))
Expand Down

0 comments on commit 567cccc

Please sign in to comment.