fix(gzip-dist): add support for .wasm files in gzip processing

This commit is contained in:
Jaime Idolpx 2026-06-14 16:15:00 -04:00
parent 9d7034e7d2
commit 65bf69fb2a

View File

@ -4,7 +4,7 @@ import { extname, join } from 'node:path';
import { pipeline } from 'node:stream/promises';
import { createGzip } from 'node:zlib';
const EXTS = new Set(['.html', '.js', '.css', '.svg']);
const EXTS = new Set(['.html', '.js', '.css', '.svg', ".wasm"]);
const DIST = 'dist';
async function* walk(dir) {