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