diff --git a/web/package.json b/web/package.json index 696f83eae..f75e56a3f 100644 --- a/web/package.json +++ b/web/package.json @@ -151,7 +151,7 @@ "typescript": "4.4.4", "vite": "2.6.10", "vite-plugin-eslint": "1.3.0", - "vite-plugin-istanbul": "2.2.0", + "vite-plugin-istanbul": "2.2.2", "vite-plugin-svgr": "0.4.0", "vite-tsconfig-paths": "3.3.17" } diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml index b05d59cd2..dda5095a4 100644 --- a/web/pnpm-lock.yaml +++ b/web/pnpm-lock.yaml @@ -52,7 +52,7 @@ specifiers: u2f-api: 1.2.1 vite: 2.6.10 vite-plugin-eslint: 1.3.0 - vite-plugin-istanbul: 2.2.0 + vite-plugin-istanbul: 2.2.2 vite-plugin-svgr: 0.4.0 vite-tsconfig-paths: 3.3.17 @@ -110,7 +110,7 @@ devDependencies: typescript: 4.4.4 vite: 2.6.10 vite-plugin-eslint: 1.3.0_vite@2.6.10 - vite-plugin-istanbul: 2.2.0 + vite-plugin-istanbul: 2.2.2 vite-plugin-svgr: 0.4.0_vite@2.6.10 vite-tsconfig-paths: 3.3.17_vite@2.6.10 @@ -6552,8 +6552,8 @@ packages: - supports-color dev: true - /vite-plugin-istanbul/2.2.0: - resolution: {integrity: sha512-kcQV/pnYoryslh6q+kywf068LqrsBlEcg9tdMh/ISSXfC7SHhZguDAgdSSdE06v0/diZrrEOw/jTUzhp59TTFQ==} + /vite-plugin-istanbul/2.2.2: + resolution: {integrity: sha512-yFY/c2qqA9mIbj9JcUPoDhkvFNTU71+e5dxGAhNnjpjoa4zC90/Zo4xu9V+/xHY6IuGGHcO5uqpGUkrjs58rog==} dependencies: istanbul-lib-instrument: 4.0.3 test-exclude: 6.0.0 diff --git a/web/vite.config.ts b/web/vite.config.ts index 6e3bcbd0b..c8f2b06e4 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => { include: "src/*", exclude: ["node_modules"], extension: [".js", ".jsx", ".ts", ".tsx"], + checkProd: false, requireEnv: true, }) : undefined;