mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
db046b2d1c
This adds support for i18n so that users may be presented a familiar language to the language the browser language they are using automatically. Currently supported languages: en, es. Co-authored-by: Amir Zarrinkafsh <nightah@me.com> Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"baseUrl": "./src",
|
|
"paths": {
|
|
"@root/*": ["./*"],
|
|
"@assets/*": ["assets/*"],
|
|
"@components/*": ["components/*"],
|
|
"@constants/*": ["constants/*"],
|
|
"@hooks/*": ["hooks/*"],
|
|
"@i18n/*": ["i18n/*"],
|
|
"@layouts/*": ["layouts/*"],
|
|
"@models/*": ["models/*"],
|
|
"@services/*": ["services/*"],
|
|
"@themes/*": ["themes/*"],
|
|
"@utils/*": ["utils/*"],
|
|
"@views/*": ["views/*"]
|
|
},
|
|
"target": "es6",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"types": ["vite/client", "vite-plugin-svgr/client"],
|
|
"allowJs": true,
|
|
"skipLibCheck": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"module": "esnext",
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"jsx": "react-jsx"
|
|
},
|
|
"include": [
|
|
".*.js",
|
|
"vite.config.ts",
|
|
"src",
|
|
"types"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"coverage"
|
|
]
|
|
}
|