rename bundles

This commit is contained in:
Yuri Kuznetsov
2023-06-14 11:34:58 +03:00
parent e0f8688cb9
commit 431f7e6fd5
5 changed files with 7 additions and 14 deletions
+1 -7
View File
@@ -50,15 +50,11 @@ module.exports = grunt => {
...buildUtils.getPreparedBundleLibList(libs),
];
let bundleFileMap = {'client/lib/espo-libs.min.js': libsBundleFileList};
let bundleFileMap = {'client/lib/espo.min.js': libsBundleFileList};
for (let name in bundleConfig.chunks) {
let namePart = 'espo-' + name;
if (name === 'main') {
namePart = 'espo';
}
bundleFileMap[`client/lib/${namePart}.min.js`] = originalLibDir + `/${namePart}.js`
}
@@ -291,8 +287,6 @@ module.exports = grunt => {
if (name === 'main') {
contents += '\n' + (new LayoutTypeBundler()).bundle();
key = 'espo';
}
writeOriginalLib(key, contents);