Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion lib/processors/bundlers/moduleBundler.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,18 @@ const log = getLogger("builder:processors:bundlers:moduleBundler");
* the module itself.
* This requires the ui5loader to be available at build time and UI5 version 1.74.0 or higher at runtime.
* </li>
* <li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To get the full set of dependencies for XMLViews/-fragments it is, IIRC, essential that all used controls etc. can be found in dependencies.

* <code>depCache</code>: A 'depCache' section is transformed into a `sap.ui.loader.config` call that maps
* module names to their respective dependencies (including declarative views/fragments).
* This requires the ui5loader to be available at build time.
* </li>
* </ul>
* </p>
*
* @public
* @typedef {object} ModuleBundleDefinitionSection
* @property {string} mode The embedding mode. Either 'provided', 'raw', 'preload', 'require' or 'bundleInfo'
* @property {string} mode The embedding mode. Either 'provided', 'raw', 'preload', 'require', 'bundleInfo'
* or 'depCache'
* @property {string[]} filters List of modules declared as glob patterns (resource name patterns) that should be
* in- or excluded.
* A pattern ending with a slash '/' will, similarly to the use of a single '*' or double '**' asterisk,
Expand Down