Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import archiver from 'archiver';
import fs from 'fs';
const output = fs.createWriteStream('h5.zip');
const archive = archiver.default('zip', { zlib: { level: 9 } });
archive.pipe(output);
archive.directory('dist/build/h5', '');
archive.finalize();
output.on('close', () => {
console.log('压缩完成:', archive.pointer() + ' bytes');
});