tsconfig.json 858 字节
Newer Older
陈文彬 已提交
1 2
{
  "compilerOptions": {
V
vben 已提交
3
    "target": "esnext",
陈文彬 已提交
4 5 6 7 8 9
    "module": "esnext",
    "moduleResolution": "node",
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "allowSyntheticDefaultImports": true,
    "strictFunctionTypes": false,
10
    "jsx": "preserve",
陈文彬 已提交
11 12
    "baseUrl": ".",
    "allowJs": true,
V
vben 已提交
13
    "sourceMap": true,
陈文彬 已提交
14
    "esModuleInterop": true,
V
vben 已提交
15
    "resolveJsonModule": true,
陈文彬 已提交
16 17 18
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "experimentalDecorators": true,
19
    "lib": ["dom", "esnext"],
V
vben 已提交
20
    "types": ["vite/client"],
陈文彬 已提交
21 22 23
    "incremental": true,
    "skipLibCheck": true,
    "paths": {
24
      "/@/*": ["src/*"]
陈文彬 已提交
25 26
    }
  },
V
vben 已提交
27 28 29 30 31
  "plugins": [
    {
      "name": "@vuedx/typescript-plugin-vue"
    }
  ],
32 33
  "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  "exclude": ["node_modules", "dist", "**/*.js"]
陈文彬 已提交
34
}