mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 05:53:49 -05:00
- Removes `rootDirs` so all imports will be relative in the frontend - Updates (and unifies) imports to be `../types/...` etc instead of relying on "types" being in the rootDir for the frontend. - Fixes one type that was being picked up from `lib` in the frontend. - Adds a precommit hook to check in future Paves the way to writing _unit_ tests for the frontend for the subset of the frontend code we can import from `node` (which might be a lot of it!)
24 lines
437 B
JSON
24 lines
437 B
JSON
{
|
|
"extends": "./tsconfig.base.json",
|
|
"compilerOptions": {
|
|
/* Module resolution */
|
|
"target": "es5",
|
|
/* Code generation */
|
|
"inlineSources": true,
|
|
"strictPropertyInitialization": false,
|
|
"lib": ["dom", "es5", "dom.iterable"]
|
|
},
|
|
"exclude": [
|
|
"out",
|
|
"test",
|
|
"etc",
|
|
"examples",
|
|
"app.ts",
|
|
"compiler-args-app.ts",
|
|
"lib",
|
|
"examples",
|
|
"webpack.config.esm.ts",
|
|
"cypress"
|
|
]
|
|
}
|