mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
build(deps): update dependency vite to v2.9.1 (#3079)
* build(deps): update dependency vite to v2.9.1 * fix(web): load correct vite env vars Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
This commit is contained in:
parent
004490c7b1
commit
89b78f0ad3
|
@ -155,7 +155,7 @@
|
|||
"prettier": "2.6.2",
|
||||
"react-test-renderer": "18.0.0",
|
||||
"typescript": "4.6.3",
|
||||
"vite": "2.8.6",
|
||||
"vite": "2.9.1",
|
||||
"vite-plugin-eslint": "1.3.0",
|
||||
"vite-plugin-istanbul": "2.5.1",
|
||||
"vite-plugin-svgr": "1.1.0",
|
||||
|
|
|
@ -52,7 +52,7 @@ specifiers:
|
|||
react-router-dom: 6.3.0
|
||||
react-test-renderer: 18.0.0
|
||||
typescript: 4.6.3
|
||||
vite: 2.8.6
|
||||
vite: 2.9.1
|
||||
vite-plugin-eslint: 1.3.0
|
||||
vite-plugin-istanbul: 2.5.1
|
||||
vite-plugin-svgr: 1.1.0
|
||||
|
@ -114,11 +114,11 @@ devDependencies:
|
|||
prettier: 2.6.2
|
||||
react-test-renderer: 18.0.0_react@18.0.0
|
||||
typescript: 4.6.3
|
||||
vite: 2.8.6
|
||||
vite-plugin-eslint: 1.3.0_vite@2.8.6
|
||||
vite: 2.9.1
|
||||
vite-plugin-eslint: 1.3.0_vite@2.9.1
|
||||
vite-plugin-istanbul: 2.5.1
|
||||
vite-plugin-svgr: 1.1.0_vite@2.8.6
|
||||
vite-tsconfig-paths: 3.4.1_vite@2.8.6
|
||||
vite-plugin-svgr: 1.1.0_vite@2.9.1
|
||||
vite-tsconfig-paths: 3.4.1_vite@2.9.1
|
||||
|
||||
packages:
|
||||
|
||||
|
@ -7949,7 +7949,7 @@ packages:
|
|||
spdx-expression-parse: 3.0.1
|
||||
dev: true
|
||||
|
||||
/vite-plugin-eslint/1.3.0_vite@2.8.6:
|
||||
/vite-plugin-eslint/1.3.0_vite@2.9.1:
|
||||
resolution: {integrity: sha512-ng6liBWegj6bovfJVGsXXL2XeQR3xnqe4UsnwTE8rbsYTnAaiLfaZK3rruGAyiwCBPbBc2IEED6T7sus5NJfEw==}
|
||||
peerDependencies:
|
||||
vite: ^2.0.0
|
||||
|
@ -7957,7 +7957,7 @@ packages:
|
|||
'@rollup/pluginutils': 4.2.0
|
||||
eslint: 7.32.0
|
||||
rollup: 2.70.1
|
||||
vite: 2.8.6
|
||||
vite: 2.9.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
@ -7972,18 +7972,18 @@ packages:
|
|||
- supports-color
|
||||
dev: true
|
||||
|
||||
/vite-plugin-svgr/1.1.0_vite@2.8.6:
|
||||
/vite-plugin-svgr/1.1.0_vite@2.9.1:
|
||||
resolution: {integrity: sha512-fuwfRpUoMBX3wr47JVt4b4xpMYujONDGyDwZFE4JuohVTJovJ4VCNeAb3//mzdRxdzeHEfJuedpoHTvwPsqisA==}
|
||||
peerDependencies:
|
||||
vite: ^2.6.0
|
||||
dependencies:
|
||||
'@svgr/core': 6.2.1
|
||||
vite: 2.8.6
|
||||
vite: 2.9.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/vite-tsconfig-paths/3.4.1_vite@2.8.6:
|
||||
/vite-tsconfig-paths/3.4.1_vite@2.9.1:
|
||||
resolution: {integrity: sha512-SgK3/pnTuJ3i+gMSAWLR6VCPSw26bnxawrmXGvCDjJgk8MAQgmbCrFrAzfwbwZBXSqSuvWEuX04Wt73qJKx8fQ==}
|
||||
peerDependencies:
|
||||
vite: '>2.0.0-0'
|
||||
|
@ -7992,13 +7992,13 @@ packages:
|
|||
globrex: 0.1.2
|
||||
recrawl-sync: 2.2.2
|
||||
tsconfig-paths: 3.14.1
|
||||
vite: 2.8.6
|
||||
vite: 2.9.1
|
||||
transitivePeerDependencies:
|
||||
- supports-color
|
||||
dev: true
|
||||
|
||||
/vite/2.8.6:
|
||||
resolution: {integrity: sha512-e4H0QpludOVKkmOsRyqQ7LTcMUDF3mcgyNU4lmi0B5JUbe0ZxeBBl8VoZ8Y6Rfn9eFKYtdXNPcYK97ZwH+K2ug==}
|
||||
/vite/2.9.1:
|
||||
resolution: {integrity: sha512-vSlsSdOYGcYEJfkQ/NeLXgnRv5zZfpAsdztkIrs7AZHV8RCMZQkwjo4DS5BnrYTqoWqLoUe1Cah4aVO4oNNqCQ==}
|
||||
engines: {node: '>=12.2.0'}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
|
|
|
@ -7,7 +7,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
|||
|
||||
// @ts-ignore
|
||||
export default defineConfig(({ mode }) => {
|
||||
const env = loadEnv(mode, "env");
|
||||
const env = loadEnv(mode, ".");
|
||||
const isCoverage = process.env.VITE_COVERAGE === "true";
|
||||
const sourcemap = isCoverage ? "inline" : undefined;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user