aboutsummaryrefslogtreecommitdiff
path: root/src-ui/tsconfig.json
blob: 290a24d2f795f0d67aa35145b1fe4ae357357889 (plain)
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
42
43
44
45
{
	"compilerOptions": {
		// For modern runtimes & rollup
		"target": "ES2022",
		"module": "ES2022",

		// For interop
		"moduleResolution": "node",
		"esModuleInterop": true,		

		// Full ts mode
		"allowJs": false,
		"checkJs": false,
		"strict": true,

		// Fev info
		"declaration": true,
		"sourceMap": true, 

		// Use native class fields
		"useDefineForClassFields": true,

		// Allows TS Decorators
		"experimentalDecorators": true,

		// Disallow inconsistently-cased references to the same file.
		"forceConsistentCasingInFileNames": true,

		// Paths info
		"outDir": ".out/", // for checkin tsc output only. Rollup is used for runtime
		"baseUrl": ".",

		// Speedup compile
		"skipLibCheck": true
	},

	// We want more control about which code we will compile and exclude
	"include": [
		"./src/**/*.ts"
	],

	"exclude": [
		"node_modules"
	]
}