Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Jul 12, 2024
1 parent e68a725 commit ae0fb09
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions lib/processors/bundlers/moduleBundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ const log = getLogger("builder:processors:bundlers:moduleBundler");
* the ui5loader is available.
* </li>
* <li>
* <code>require</code>: A 'require' section is transformed into a sequence of jQuery.sap.require calls. The
* <code>require</code>: A 'require' section is transformed into a sequence of 'sap.ui.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.require' is
* used instead.
* With specVersion: 4.0 this module comes with an `async` flag. When set to false, the modules
* are loaded using `sap.ui.requireSync` instead of `sap.ui.require`.
* **Note:** The `sap.ui.requireSync` API is not available in UI5 version 2.x.
* modules, a 'sap.ui.require' will be created.
* This module comes with an 'async' flag. When set to false, the modules are loaded using 'sap.ui.requireSync'
* instead of 'sap.ui.require'.
* **Note:** The '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 Expand Up @@ -78,6 +77,10 @@ const log = getLogger("builder:processors:bundlers:moduleBundler");
* @property {boolean} [declareRawModules=false] Whether raw modules should be declared after jQuery.sap.global
* became available. With the usage of the ui5loader, this flag should be set to 'false'
* @property {boolean} [sort=true] Whether the modules should be sorted by their dependencies
* @property {boolean} [async=true] Whether the require section of the module should be asynchronous.
* When set to true, the modules will be loaded using sap.ui.require instead of sap.ui.requireSync.
* The latter API is not available in UI5 version 2.x.
* Note: This property is available only for mode=require.
*/

/* eslint-disable max-len */
Expand Down

0 comments on commit ae0fb09

Please sign in to comment.