tsconfig.json 794 字节
Newer Older
1
{
2 3 4 5 6 7 8 9 10
    "include": [
        "src",
        "test",
        "types"
    ],
    "exclude": [
        "node_modules"
    ],
    "extends": "@snowpack/app-scripts-react/tsconfig.base.json",
11
    "compilerOptions": {
12 13
        "baseUrl": "./",
        "isolatedModules": true,
14
        "paths": {
15 16 17
            "*": [
                "web_modules/.types/*"
            ],
18
            "~/*": [
19
                "./src/*"
20
            ]
P
Peter Pan 已提交
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
        },
        "lib": [
            "DOM",
            "DOM.Iterable",
            "ESNext",
            "ESNext.Array",
            "ESNext.AsyncIterable",
            "ESNext.BigInt",
            "ESNext.Intl",
            "ESNext.Promise",
            "ESNext.String",
            "ESNext.Symbol",
            "ScriptHost",
            "WebWorker"
        ]
36
    }
37
}