Browse Source

update: !!!请保留这个属性,防止tsconfig.json文件报错

puhui999 2 years ago
parent
commit
993a96757f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tsconfig.json

+ 2 - 1
tsconfig.json

@@ -32,6 +32,7 @@
       "vite-plugin-svg-icons/client",
       "@form-create/element-ui/types"
     ],
+    "outDir": "target", // 请保留这个属性,防止tsconfig.json文件报错
     "typeRoots": ["./node_modules/@types/", "./types"]
   },
   "include": [
@@ -40,5 +41,5 @@
     "src/types/auto-imports.d.ts",
     "src/types/auto-components.d.ts"
   ],
-  "exclude": ["dist", "node_modules"]
+  "exclude": ["dist", "target", "node_modules"]
 }