forked from salesforce/lwc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtsconfig.json
28 lines (21 loc) · 827 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
{
"compilerOptions": {
"strict": true,
"declaration": true,
"sourceMap": true,
"module": "commonjs",
"moduleResolution": "node",
"esModuleInterop": true,
"target": "es2021",
"lib": ["es2021"],
// Disable automatic inclusion of @types packages
"types": ["node"],
// @rollup/plugin-typescript is actually responsible for writing dist files. Using "." as the declarationDir
// ensures that .d.ts files are co-located with JS files, e.g. `dist/index.js` and `dist/index.d.ts`.
"declarationDir": ".",
// @rollup/plugin-typescript ignores this setting (it always emits); we can set it here to
// facilitate type checking without running the full build
"noEmit": true
},
"exclude": []
}