forked from hocus-dev/hocus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
33 lines (33 loc) · 1.23 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": ["remix.env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["extensions", "hocus-workspace"],
"compilerOptions": {
"module": "commonjs",
"lib": ["DOM", "DOM.Iterable", "ES2021"],
"isolatedModules": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"resolveJsonModule": true,
"target": "ES2021",
"strict": true,
"allowJs": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"rootDir": ".",
// WARNING, touching the aliases means that you also need to change the aliases in:
// ./app/temporal/bundle.ts - the webpack config for temporal which doesn't automatically parse aliases from tsconfig.json
// ./ops/docker/hocus-ui.Dockerfile - until https://github.com/evanw/esbuild/issues/3003 gets fixed
// ./ops/docker/hocus-agent.Dockerfile - until https://github.com/evanw/esbuild/issues/3003 gets fixed
// ./remix.config.js - remix does a good job of resolving aliases but if that resolution fails then you may override it here
// ./jest.config.js - .-.
"paths": {
"~/*": ["./app/*"]
},
// Remix takes care of building everything in `remix build`.
"noEmit": true
},
"ts-node": {
"swc": true
}
}