mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
3494353641
* refactor(web): use absolute imports with aliases Refactors all of the TS/JS frontend to utilise absolute imports along with import aliases. Each of the paths within `src` are represented with their own alias: * @assets * @components * @constants (new) * @hooks * @layouts * @models * @services * @themes * @utils * @views `Routes.ts` and `constant.ts` have been relocated to the constants directory for consistency.
35 lines
669 B
JSON
35 lines
669 B
JSON
{
|
|
"extends": "./tsconfig.aliases.json",
|
|
"compilerOptions": {
|
|
"target": "es5",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx",
|
|
"noFallthroughCasesInSwitch": true
|
|
},
|
|
"include": [
|
|
".*.js",
|
|
"src",
|
|
"types"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"build",
|
|
"coverage"
|
|
]
|
|
}
|