tsconfig.json 906 字节
Newer Older
1 2 3 4 5 6 7 8 9
{
    "compilerOptions": {
        "jsx": "preserve",
        "target": "es2018",
        "module": "esnext",
        "moduleResolution": "node",
        "lib": [
            "esnext",
            "esnext.asynciterable",
P
Peter Pan 已提交
10 11
            "dom",
            "webworker"
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
        ],
        "esModuleInterop": true,
        "allowJs": true,
        "resolveJsonModule": true,
        "sourceMap": true,
        "strict": true,
        "noEmit": true,
        "baseUrl": ".",
        "paths": {
            "~/*": [
                "./*"
            ]
        },
        "types": [
            "@types/node"
        ],
        "skipLibCheck": true,
        "forceConsistentCasingInFileNames": true,
        "isolatedModules": true
    },
    "exclude": [
33 34 35
        "node_modules",
        "__tests__",
        "__mocks__"
36 37 38 39 40 41 42
    ],
    "include": [
        "next-env.d.ts",
        "**/*.ts",
        "**/*.tsx"
    ]
}