From 5a2c9a5881d005cc1c7e7d2fcdd6863216dc2699 Mon Sep 17 00:00:00 2001 From: Merlin Beutlberger Date: Fri, 5 Dec 2025 12:12:49 +0100 Subject: [PATCH] [INTERNAL] moduleBundler: Add JSDoc for depCache section --- lib/processors/bundlers/moduleBundler.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/processors/bundlers/moduleBundler.js b/lib/processors/bundlers/moduleBundler.js index 4ce22607e..209b66464 100644 --- a/lib/processors/bundlers/moduleBundler.js +++ b/lib/processors/bundlers/moduleBundler.js @@ -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. * + *
  • + * depCache: 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. + *
  • * *

    * * @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,