Skip to content

Commit

Permalink
🐛 fix build bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ileostar committed Mar 21, 2024
1 parent a6307b1 commit 2bd0d83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
"scripts": {
"dev": "vite --open",
"build": "vue-tsc --noEmit && vite build",
"build:dev": "vue-tsc --noEmit && vite build",
"build:pro": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"test": "vitest --mode development",
"typecheck": "vue-tsc --noEmit",
Expand Down
6 changes: 3 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"types": [
"vite/client",
"@alova/adapter-axios",
"unplugin-vue-macros/macros-global"
"unplugin-vue-macros/macros-global",
"unplugin-vue-router/client"
],
"resolveJsonModule": true,
"allowJs": true,
Expand All @@ -23,8 +24,7 @@
"noUnusedLocals": true,
"skipLibCheck": true
},
"references": [{ "path": "./tsconfig.node.json" }],
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "types/*.ts"],
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "types/*.ts", "types/*.d.ts"],
"exclude": [
"dist",
"node_modules"
Expand Down
9 changes: 0 additions & 9 deletions tsconfig.node.json

This file was deleted.

0 comments on commit 2bd0d83

Please sign in to comment.