Skip to content

Commit d3835c1

Browse files
committed
fix(assets): remove manual @ui5/webcomponents Asset imports from Component.ts
Both @ui5/webcomponents/dist/Assets and @ui5/webcomponents-fiori/dist/Assets were imported explicitly. Having both as separate rollup entry points caused ui5-tooling-modules to emit a deduplicated chunk named Assets2.js that was never written to disk, breaking the production build with a script load error. @ui5/webcomponents-fiori/dist/Assets already transitively imports @ui5/webcomponents/dist/Assets, so both manual imports are redundant.
1 parent 1d5c667 commit d3835c1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

webapp/Component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ import UIComponent from "sap/ui/core/UIComponent";
22
import models from "uxc/integration/model/models";
33
import Device from "sap/ui/Device";
44

5-
import "@ui5/webcomponents/dist/Assets";
6-
import "@ui5/webcomponents-fiori/dist/Assets";
7-
85
/**
96
* @namespace uxc.integration
107
*/

0 commit comments

Comments
 (0)