mirror of
https://github.com/IT4Change/boilerplate-frontend.git
synced 2025-12-12 15:15:49 +00:00
35 lines
943 B
JSON
35 lines
943 B
JSON
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"module": "ES2020",
|
|
"target": "ES2020",
|
|
// Doesn't apply to server/, see ts-node config down below and server/tsconfig.json
|
|
"moduleResolution": "Bundler",
|
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
"types": ["vite/client"],
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"resolveJsonModule": true,
|
|
"paths": {
|
|
"#components/*": ["./src/components/*"],
|
|
"#pages/*": ["./src/pages/*"],
|
|
"#assets/*": ["./src/assets/*"],
|
|
"#layouts/*": ["./src/layouts/*"],
|
|
"#stores/*": ["./src/stores/*"],
|
|
"#src/*": ["./src/*"],
|
|
"#plugins/*": ["./renderer/plugins/*"],
|
|
"#context/*": ["./renderer/context/*"],
|
|
"#types/*": ["./types/*"],
|
|
"#root/*": ["./*"]
|
|
}
|
|
},
|
|
"ts-node": {
|
|
"transpileOnly": true,
|
|
"esm": true,
|
|
"compilerOptions": {
|
|
"module": "Node16",
|
|
"moduleResolution": "Node16"
|
|
}
|
|
}
|
|
}
|