()
| 5 | |
| 6 | // Function to pack the ZIP file |
| 7 | function packZip() { |
| 8 | exec("node ./pack-zip.js", (err, stdout, stderr) => { |
| 9 | if (err) { |
| 10 | console.error("Error packing zip:", err); |
| 11 | return; |
| 12 | } |
| 13 | console.log(stdout.trim()); |
| 14 | }); |
| 15 | } |
| 16 | |
| 17 | // Custom plugin to pack ZIP after build or rebuild |
| 18 | const zipPlugin = { |