Files
compiler-explorer/tsconfig.frontend.json
Matt Godbolt 9e9e035b28 Rephrase frontend imports (#7824)
- 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!)
2025-06-18 09:04:23 -05:00

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"
]
}