diff --git a/lib/tasks/bundlers/generateLibraryPreload.js b/lib/tasks/bundlers/generateLibraryPreload.js index a9da1310f..54de2ac70 100644 --- a/lib/tasks/bundlers/generateLibraryPreload.js +++ b/lib/tasks/bundlers/generateLibraryPreload.js @@ -109,6 +109,12 @@ module.exports = function({workspace, dependencies, options}) { p = moduleBundler({ options: { + bundleOptions: { + optimize: true, + decorateBootstrapModule: true, + addTryCatchRestartWrapper: true, + usePredefineCalls: true + }, bundleDefinition: { name: "sap-ui-core.js", sections: [