mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
a3e84769b5
* feat(web): replace cra with vite
* fix: add istanbul
* fix: add jest
* fix: inject env vars
* fix: replicate cra output directories
* fix: post-frontend build for go templating
* fix: dynamic publicpath
* fix(web): import resolution with aliases for .module.css files
* refactor(server): baseurl var
* refactor(web): drop babel-jest for esbuild-jest
* refactor(web): add inline sourcemap for coverage bundle
* build(deps): update web deps
* build(deps): downgrade vite-plugin-istanbul to 2.2.0
98bf77dbaa
is a breaking change that means production mode builds can no longer be instrumented.
* refactor(web): match frontend name and version
* refactor(web): drop cra readme
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/*"],
|
|
"@layouts/*": ["layouts/*"],
|
|
"@models/*": ["models/*"],
|
|
"@services/*": ["services/*"],
|
|
"@themes/*": ["themes/*"],
|
|
"@utils/*": ["utils/*"],
|
|
"@views/*": ["views/*"]
|
|
},
|
|
"target": "es6",
|
|
"lib": [
|
|
"dom",
|
|
"dom.iterable",
|
|
"esnext"
|
|
],
|
|
"types": ["@types/node", "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",
|
|
"build",
|
|
"coverage"
|
|
]
|
|
}
|