-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (28 loc) · 721 Bytes
/
Copy pathtsconfig.json
File metadata and controls
29 lines (28 loc) · 721 Bytes
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
{
"include": ["src/**/*", "webpack.config.js"],
"exclude": ["node_modules/*", "__sapper__/*", "public/*"],
"compilerOptions": {
"moduleResolution": "bundler",
"target": "esnext",
"module": "esnext",
"importsNotUsedAsValues": "remove",
"verbatimModuleSyntax": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": false,
"baseUrl": ".",
"paths": {
"src/*": ["src/*"]
}
},
// Fixes errors when changing `module` to ES in the above compiler options
// See: https://github.com/webpack/webpack-cli/issues/2458#issuecomment-846635277
"ts-node": {
"compilerOptions": {
"module": "commonjs",
"verbatimModuleSyntax": false
}
}
}