mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
Zip dist on build (#61)
This commit is contained in:
9
scripts/zipdist.js
Normal file
9
scripts/zipdist.js
Normal file
@@ -0,0 +1,9 @@
|
||||
import zipdir from 'zip-dir';
|
||||
|
||||
zipdir('./dist', { saveTo: './dist.zip' }, function (err, buffer) {
|
||||
if (err) {
|
||||
console.error('Error zipping "dist" directory:', err);
|
||||
} else {
|
||||
console.log('Successfully zipped "dist" directory.');
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user