zip only web_root files

This commit is contained in:
Sergey Lyubka 2024-11-09 08:09:37 +00:00
parent 232bd9a22b
commit 51a5dc78d7

View File

@ -95,7 +95,7 @@ const [, , ...args] = process.argv;
const files = args.map(f => ({
path: f,
data: fs.readFileSync(f, 'utf8'),
zip: true,
zip: !!f.match(/web_root\/.+/),
}));
(async () => {