ui5-tooling
ui5-tooling copied to clipboard
Bundling should allow to mark input bundles as "do not resolve"
Expected Behavior
Bundling should allow to specify an input source file as "bundle that must not be dissolved into pieces" and rather embed the input source as a whole.
Current Behavior
When a bundle is created that includes e.g. one of the sap-viz-* bundles, the builder logs many errors like
ERR! lbt:bundle:Resolver **** error: missing module sap/viz/framework/common/util/NameColorUtils.js, required by sap/viz/libs/sap-viz-info-charts.js
The resulting bundle works, but the log messages are annoying. And the current logic that checks for any module to exist might lead to unexpected behavior. It might be better to mark the input bundle explicitly as "do not dissolve".
Steps to reproduce the issue
- Create a bundle definition that includes
sap/viz/ - Build the bundle
- Watch the console output
Affected components (if known)
- [X] ui5-builder
- [ ] ui5-server
- [ ] ui5-cli
- [ ] ui5-fs
- [ ] ui5-project
- [ ] ui5-logger