tsconfig.json 882 字节
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 33 34 35 36 37 38 39 40 41
        ],
        "esModuleInterop": true,
        "allowJs": true,
        "resolveJsonModule": true,
        "sourceMap": true,
        "strict": true,
        "noEmit": true,
        "baseUrl": ".",
        "paths": {
            "~/*": [
                "./*"
            ]
        },
        "types": [
            "@types/node"
        ],
        "skipLibCheck": true,
        "forceConsistentCasingInFileNames": true,
        "isolatedModules": true
    },
    "exclude": [
        "server",
        "node_modules"
    ],
    "include": [
        "next-env.d.ts",
        "**/*.ts",
        "**/*.tsx"
    ]
}