generated from OlegWock/webpack-react-web-extension-template
-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
tsconfig.json
33 lines (32 loc) · 1.02 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
27
28
29
30
31
32
33
{
"include": ["declarations.d.ts", "src/**/*", "webpack.config.ts"],
"exclude": ["node_modules", "dist", "safari-app"],
"compilerOptions": {
"lib": ["es6", "es2023", "dom", "dom.iterable", "WebWorker"],
"baseUrl": ".",
"paths": {
"@utils/*": ["./src/utils/*"],
"@components/*": ["./src/components/*"],
"@assets/*": ["./src/assets/*"],
"@plugins/*": ["./src/plugins/*"],
"@translations/*": ["./src/translations/*"]
},
"outDir": "./dist/",
"noImplicitAny": true,
"allowSyntheticDefaultImports": true,
"strictNullChecks": true,
"module": "esnext",
"target": "esnext",
"jsx": "preserve", // Will be compiled with Babel anyway
"allowJs": true,
"moduleResolution": "node",
"resolveJsonModule": true,
},
"ts-node": {
"compilerOptions": {
"module": "CommonJS"
},
"files": true,
"include": ["declarations.d.ts"]
}
}