-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtsconfig.json
41 lines (40 loc) · 921 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
32
33
34
35
36
37
38
39
40
41
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src/**/*"],
"exclude": [
"node_modules/*",
"__sapper__/*",
"public/*",
"webpack.config.ts"
],
"compilerOptions": {
"module": "ES2020",
"moduleResolution": "node",
"target": "es2020",
"resolveJsonModule": true,
"importsNotUsedAsValues": "remove",
"isolatedModules": true,
"esModuleInterop": true,
"sourceMap": true,
"strict": true,
"baseUrl": ".",
"paths": {
"src/*": ["src/*"]
},
"types": [
"svelte",
"svelte/store",
"svelte/motion",
"svelte/transition",
"svelte/animate",
"svelte/easing"
]
},
// 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"
}
}
}