-
Notifications
You must be signed in to change notification settings - Fork 5
/
tsconfig.json
26 lines (26 loc) · 918 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": false,
"forceConsistentCasingInFileNames": true,
"importsNotUsedAsValues": "error",
// esbuild needs this to be true (https://esbuild.github.io/content-types/#isolated-modules)
"isolatedModules": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"module": "ESNext",
// It's a bummer that we can't use `nodenext` as module resolution since
// that will require the imports to have the "output file" extension i.e `.js`
"moduleResolution": "Node",
"noEmit": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "ES2021",
// Emit ECMAScript-standard-compliant class fields.
"useDefineForClassFields": true,
"plugins": [{ "name": "typescript-plugin-css-modules" }]
},
"include": ["src"]
}