-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
26 lines (26 loc) · 1.07 KB
/
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
{
// in-lining https://github.com/agilgur5/tsconfig bc vue-tsc resolves differently from tsc, causing errors
// https://github.com/tsconfig/bases
"extends": "@tsconfig/strictest/tsconfig.json",
// exclude node_modules (the default), dist dir, coverage dir
"exclude": ["node_modules/", "dist/", "coverage/"],
// all files in the src/ dir
"include": ["src/**/*"],
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs
"compilerOptions": {
// output to dist/ dir
"outDir": "dist/",
// match output dir to input dir. e.g. dist/index instead of dist/src/index
"rootDir": "./src",
// output .js.map sourcemap files for consumers / debugging
"sourceMap": true,
// output .d.ts declaration files for consumers
"declaration": true,
// output .d.ts.map declaration map files for consumers
"declarationMap": true,
// use Node's module resolution algorithm, instead of the legacy TS one
"moduleResolution": "node",
// ignored during builds, but commonly used when type-checking with `tsc`
"noEmit": true
}
}