SAP / webide-client-tools

Tools & Flows for SAP Web IDE Client Side Features. https://sap.github.io/webide-client-tools/web/site/
Apache License 2.0
17 stars 13 forks source link

How to Configure the UI5 Build into FLP using WebIDE? #136

Open LuisaG opened 4 years ago

LuisaG commented 4 years ago

Dear colleagues,

I am working on developing a SAPUI5 Fiori app for the Security Self Service team.

Application loading time and rendering of UI elements is quite slow, so we decided to uglify and minify the code. This is achieved with the help of @sap/ui5-builder-webide-extension, following the help.sap tutorial from here.

The code is processed and placed - minified and uglified - into the dist folder, that resides directly under the root folder. However when we deploy the app to the Fiori Launchpad or try to run it as SAP Fiori Launchpad Sandbox, the code is read from the webapp folder, not from the dist.

We tried several approaches, but were not able to change the location from where the source code is loaded. How can we achieve this?

Thank you,

Luisa

gadisn commented 4 years ago

Can you please try something like the below? https://github.com/SAP/webide-extension-command-example/blob/master/client/package.json#L36-L44