Skip to content

Commit

Permalink
[FIX] generateLibraryPreload: Fix sap-ui-core.js bootstrap
Browse files Browse the repository at this point in the history
- Missing sap-ui-optimized flag prevented load of preloads
- Missing debug try-catch wrapper prevented use of debug mode
  • Loading branch information
RandomByte committed Dec 19, 2018
1 parent 5664e8c commit 7a266fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/tasks/bundlers/generateLibraryPreload.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit 7a266fd

Please sign in to comment.