include original bundles

This commit is contained in:
Yuri Kuznetsov
2024-12-20 11:47:26 +02:00
parent 79a837e653
commit 5598c09002
2 changed files with 6 additions and 4 deletions

View File

@@ -285,13 +285,15 @@ class Diff
fileList.push('client/lib/espo.js');
fileList.push('client/lib/espo.js.map');
fileList.push('client/lib/templates.tpl');
fileList.push('client/lib/original/espo.js');
Object.keys(bundleConfig.chunks)
.map(name => {
const namePart = 'espo-' + name;
const namePart = `espo-${name}`;
fileList.push(`client/lib/${namePart}.js`);
fileList.push(`client/lib/${namePart}.js.map`);
fileList.push(`client/lib/original/${namePart}.js`);
});
fs.readdirSync('client/css/espo/').forEach(file => {