Skip to content

Commit

Permalink
[FIX] Bundling: Dynamic preload calls should not emit warnings
Browse files Browse the repository at this point in the history
The UI5 core library contains dynamic calls to sap.ui.require.preload.
Those calls should not result into a warning in the build log, as they
are correct and should just be skipped.

This has been introducted with #341.
  • Loading branch information
matz3 committed Feb 6, 2020
1 parent 3fba39e commit 4d22b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lbt/analyzer/JSModuleAnalyzer.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ class JSModuleAnalyzer {
info.addSubModule(moduleName);
});
} else {
log.warn("Cannot evaluate registerPreloadedModules: '%s'", modules && modules.type);
log.verbose("Cannot evaluate registerPreloadedModules: '%s'", modules && modules.type);
}
}

Expand Down

0 comments on commit 4d22b37

Please sign in to comment.