From ce84142110584eadfccbd6ce9319573358af31a6 Mon Sep 17 00:00:00 2001 From: Yuri Date: Thu, 23 Jan 2025 08:20:49 -0500 Subject: [PATCH] feat(reporter): add `wasm` to the compressible assets regex (#19085) --- packages/vite/src/node/plugins/reporter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vite/src/node/plugins/reporter.ts b/packages/vite/src/node/plugins/reporter.ts index 4f97184dc0522e..10b9334d398585 100644 --- a/packages/vite/src/node/plugins/reporter.ts +++ b/packages/vite/src/node/plugins/reporter.ts @@ -24,7 +24,7 @@ type LogEntry = { mapSize: number | null } -const COMPRESSIBLE_ASSETS_RE = /\.(?:html|json|svg|txt|xml|xhtml)$/ +const COMPRESSIBLE_ASSETS_RE = /\.(?:html|json|svg|txt|xml|xhtml|wasm)$/ export function buildReporterPlugin(config: ResolvedConfig): Plugin { const compress = promisify(gzip)