Skip to content

Commit

Permalink
Add docs about async flag in moduleBundler
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Jul 12, 2024
1 parent d8c09f3 commit 6b67a14
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/processors/bundlers/moduleBundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,11 @@ const log = getLogger("builder:processors:bundlers:moduleBundler");
* <li>
* <code>require</code>: A 'require' section is transformed into a sequence of jQuery.sap.require calls. The
* list will be resolved like an include pattern list in any of the other sections and for each of the resolved
* modules, a jQuery.sap.require will be created. In case the ui5loader is available, 'sap.ui.requireSync' is
* modules, a jQuery.sap.require will be created. In case the ui5loader is available, 'sap.ui.require' is
* used instead.
* With specVersion: 4.0 this module comes with an `async` flag. When set to false, the modules
* will be loaded using `sap.ui.requireSync` instead of `sap.ui.require`.
* **Note:** `sap.ui.requireSync` API is not available in UI5 version 2.x.
* </li>
* <li>
* <code>bundleInfo</code>: A 'bundleInfo' section describes the content of another named bundle. This information
Expand Down

0 comments on commit 6b67a14

Please sign in to comment.