fix(gzip-dist): add support for .wasm files in gzip processing
This commit is contained in:
parent
9d7034e7d2
commit
65bf69fb2a
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user