tsconfig.json 827 字节
Newer Older
陈文彬 已提交
1 2
{
  "compilerOptions": {
V
vben 已提交
3
    "target": "es2016",
陈文彬 已提交
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 15 16 17
    "esModuleInterop": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "experimentalDecorators": true,
18
    "lib": ["dom", "esnext"],
V
vben 已提交
19
    "types": ["vite/client"],
陈文彬 已提交
20 21 22
    "incremental": true,
    "skipLibCheck": true,
    "paths": {
23
      "/@/*": ["src/*"]
陈文彬 已提交
24 25
    }
  },
V
vben 已提交
26 27 28 29 30
  "plugins": [
    {
      "name": "@vuedx/typescript-plugin-vue"
    }
  ],
31 32
  "include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
  "exclude": ["node_modules", "dist", "**/*.js"]
陈文彬 已提交
33
}