Add sap.ui.layout dependency for technical information dialog: npm install @openui5/sap.ui.layout
Execute ui5 build self-contained --all
Serve dist directory
Open technical information dialog by pressing CTRL + SHIFT + ALT + P
Observe in the network trace that single sap.ui.layout controls are being loaded.
➡️ This indicates that they are not part of the self contained bundle
Expected Behavior
MVC factory APIs like
sap.ui.fragment
should be identified as dependency declarations.Current Behavior
Resources referenced by MVC factories are not processed as bundle dependencies.
Steps to reproduce the issue
sap.ui.layout
dependency for technical information dialog:npm install @openui5/sap.ui.layout
ui5 build self-contained --all
dist
directory➡️ This indicates that they are not part of the self contained bundle
Related code: https://github.com/SAP/openui5/blob/9974c1e7f9179397745d896df72cf2d1d773f325/src/sap.ui.core/src/sap/ui/core/support/techinfo/TechnicalInfo.js#L79
CC: @codeworrior
Also see https://github.com/SAP/ui5-tooling/issues/68
Affected components