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>pull/3120/head
parent
004490c7b1
commit
89b78f0ad3
|
@ -155,7 +155,7 @@
|
||||||
"prettier": "2.6.2",
|
"prettier": "2.6.2",
|
||||||
"react-test-renderer": "18.0.0",
|
"react-test-renderer": "18.0.0",
|
||||||
"typescript": "4.6.3",
|
"typescript": "4.6.3",
|
||||||
"vite": "2.8.6",
|
"vite": "2.9.1",
|
||||||
"vite-plugin-eslint": "1.3.0",
|
"vite-plugin-eslint": "1.3.0",
|
||||||
"vite-plugin-istanbul": "2.5.1",
|
"vite-plugin-istanbul": "2.5.1",
|
||||||
"vite-plugin-svgr": "1.1.0",
|
"vite-plugin-svgr": "1.1.0",
|
||||||
|
|
|
@ -52,7 +52,7 @@ specifiers:
|
||||||
react-router-dom: 6.3.0
|
react-router-dom: 6.3.0
|
||||||
react-test-renderer: 18.0.0
|
react-test-renderer: 18.0.0
|
||||||
typescript: 4.6.3
|
typescript: 4.6.3
|
||||||
vite: 2.8.6
|
vite: 2.9.1
|
||||||
vite-plugin-eslint: 1.3.0
|
vite-plugin-eslint: 1.3.0
|
||||||
vite-plugin-istanbul: 2.5.1
|
vite-plugin-istanbul: 2.5.1
|
||||||
vite-plugin-svgr: 1.1.0
|
vite-plugin-svgr: 1.1.0
|
||||||
|
@ -114,11 +114,11 @@ devDependencies:
|
||||||
prettier: 2.6.2
|
prettier: 2.6.2
|
||||||
react-test-renderer: 18.0.0_react@18.0.0
|
react-test-renderer: 18.0.0_react@18.0.0
|
||||||
typescript: 4.6.3
|
typescript: 4.6.3
|
||||||
vite: 2.8.6
|
vite: 2.9.1
|
||||||
vite-plugin-eslint: 1.3.0_vite@2.8.6
|
vite-plugin-eslint: 1.3.0_vite@2.9.1
|
||||||
vite-plugin-istanbul: 2.5.1
|
vite-plugin-istanbul: 2.5.1
|
||||||
vite-plugin-svgr: 1.1.0_vite@2.8.6
|
vite-plugin-svgr: 1.1.0_vite@2.9.1
|
||||||
vite-tsconfig-paths: 3.4.1_vite@2.8.6
|
vite-tsconfig-paths: 3.4.1_vite@2.9.1
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
|
@ -7949,7 +7949,7 @@ packages:
|
||||||
spdx-expression-parse: 3.0.1
|
spdx-expression-parse: 3.0.1
|
||||||
dev: true
|
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==}
|
resolution: {integrity: sha512-ng6liBWegj6bovfJVGsXXL2XeQR3xnqe4UsnwTE8rbsYTnAaiLfaZK3rruGAyiwCBPbBc2IEED6T7sus5NJfEw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.0.0
|
vite: ^2.0.0
|
||||||
|
@ -7957,7 +7957,7 @@ packages:
|
||||||
'@rollup/pluginutils': 4.2.0
|
'@rollup/pluginutils': 4.2.0
|
||||||
eslint: 7.32.0
|
eslint: 7.32.0
|
||||||
rollup: 2.70.1
|
rollup: 2.70.1
|
||||||
vite: 2.8.6
|
vite: 2.9.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -7972,18 +7972,18 @@ packages:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
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==}
|
resolution: {integrity: sha512-fuwfRpUoMBX3wr47JVt4b4xpMYujONDGyDwZFE4JuohVTJovJ4VCNeAb3//mzdRxdzeHEfJuedpoHTvwPsqisA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.6.0
|
vite: ^2.6.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@svgr/core': 6.2.1
|
'@svgr/core': 6.2.1
|
||||||
vite: 2.8.6
|
vite: 2.9.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
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==}
|
resolution: {integrity: sha512-SgK3/pnTuJ3i+gMSAWLR6VCPSw26bnxawrmXGvCDjJgk8MAQgmbCrFrAzfwbwZBXSqSuvWEuX04Wt73qJKx8fQ==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: '>2.0.0-0'
|
vite: '>2.0.0-0'
|
||||||
|
@ -7992,13 +7992,13 @@ packages:
|
||||||
globrex: 0.1.2
|
globrex: 0.1.2
|
||||||
recrawl-sync: 2.2.2
|
recrawl-sync: 2.2.2
|
||||||
tsconfig-paths: 3.14.1
|
tsconfig-paths: 3.14.1
|
||||||
vite: 2.8.6
|
vite: 2.9.1
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vite/2.8.6:
|
/vite/2.9.1:
|
||||||
resolution: {integrity: sha512-e4H0QpludOVKkmOsRyqQ7LTcMUDF3mcgyNU4lmi0B5JUbe0ZxeBBl8VoZ8Y6Rfn9eFKYtdXNPcYK97ZwH+K2ug==}
|
resolution: {integrity: sha512-vSlsSdOYGcYEJfkQ/NeLXgnRv5zZfpAsdztkIrs7AZHV8RCMZQkwjo4DS5BnrYTqoWqLoUe1Cah4aVO4oNNqCQ==}
|
||||||
engines: {node: '>=12.2.0'}
|
engines: {node: '>=12.2.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
|
|
|
@ -7,7 +7,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
export default defineConfig(({ mode }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
const env = loadEnv(mode, "env");
|
const env = loadEnv(mode, ".");
|
||||||
const isCoverage = process.env.VITE_COVERAGE === "true";
|
const isCoverage = process.env.VITE_COVERAGE === "true";
|
||||||
const sourcemap = isCoverage ? "inline" : undefined;
|
const sourcemap = isCoverage ? "inline" : undefined;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue