-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
31 lines (31 loc) · 958 Bytes
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"compilerOptions": {
// Target latest version of ECMAScript.
"target": "es5",
// Search under node_modules for non-relative imports.
"moduleResolution": "node",
// Process & infer types from .js files.
"allowJs": false,
// Emit outputs.
"noEmit": false,
// Enable strictest settings like strictNullChecks & noImplicitAny.
"strict": true,
// Disallow features that require cross-file information for emit.
"isolatedModules": true,
// Import non-ES modules as default imports.
"esModuleInterop": true,
// 指定输出目录,但是 @rollup/plugin-babel 插件会报错:https://github.com/rollup/plugins/issues/243
// 并且必须使用 rollup 的 output.dir 配置,而不能使用 output.file 配置
// "outDir": "dist",
// "rootDir": "src",
"sourceMap": true
},
"include": [
"src/**/*"
],
"exclude": [
"node_modules/**",
"dist/**",
"example/**"
]
}