ui5-community / generator-ui5-project

Generator for UI5-based web-apps which use the official UI5 tooling and support multiple deployment targets such as the SAP Business Technology Platform
Apache License 2.0
33 stars 25 forks source link

Component is not loaded with newest version of @sap-ux/ui5-application-writer #35

Closed nicoschoenteich closed 2 years ago

nicoschoenteich commented 2 years ago

Node.js: v16.9.1 yeoman-environment: 3.9.1 generator-easy-ui5: 3.2.2 The dependency "@sap-ux/fiori-freestyle-writer" uses "@sap-ux/ui5-application-writer": "0.11.2"

A recent commit in the open-ux-tools changed the template for the index.html we use in the newwebapp generator. As a result of this the component of the ui5 app is not loaded unless we specify loadReuseLibs: false when generating the app from the @sap-ux/fiori-freestyle-writer, at least with the current way we handle the whole localResources configuration. This is with version 0.11.2 of the @sap-ux/ui5-application-writer (I tested version 0.10.1 and that still worked fine). I will provide a PR for this in a minute.