build(deps): update dependency vite-plugin-istanbul to v2.2.2 (#2524)

* build(deps): update dependency vite-plugin-istanbul to v2.2.2

* fix(web): allow instrumentation of frontend in prod mode

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Amir Zarrinkafsh <nightah@me.com>
pull/2525/head
renovate[bot] 2021-10-21 10:15:15 +11:00 committed by GitHub
parent 4b904fc321
commit 74ce469197
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View File

@ -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"
}

View File

@ -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

View File

@ -27,6 +27,7 @@ export default defineConfig(({ mode }) => {
include: "src/*",
exclude: ["node_modules"],
extension: [".js", ".jsx", ".ts", ".tsx"],
checkProd: false,
requireEnv: true,
})
: undefined;