-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.json
More file actions
34 lines (33 loc) · 810 Bytes
/
Copy pathtsconfig.json
File metadata and controls
34 lines (33 loc) · 810 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
30
31
32
33
34
{
"compilerOptions": {
// required
"allowSyntheticDefaultImports": true,
"downlevelIteration": true,
"jsx": "react",
"jsxFactory": "Roact.createElement",
"module": "commonjs",
"moduleResolution": "Node",
"noLib": true,
"resolveJsonModule": true,
"strict": true,
"target": "ESNext",
"typeRoots": ["node_modules/@rbxts"],
// configurable
"rootDir": "src",
"outDir": "out",
"baseUrl": "src",
//"incremental": true,
//"tsBuildInfoFile": "out/tsconfig.tsbuildinfo",
"declaration": true,
},
"exclude": [
"out"
],
"include": [
"src"
],
//why is the ts compiler stupid
//why would it look for source files outside of the rootDir
//like maybe i have them there to test the package im making
//because logically it should be ignored because it isn't in the rootDir
}