cancel
Showing results for 
Search instead for 
Did you mean: 

when using vs code to deploy Fiori to on premise, can I only minified preload file instead of all js

Rayman
Explorer
246

Hi All,

Currently if using VS code to deploy Fiori app to On Premise, only the minified js file (and its map file) are uploaded to ABAP backend. However, we need the original js file except for the "Component-preload.js" file, just as the old Web IDE does. I have tried the option "ui5 build --exclude-task=minify", but the generated preload file will have the original js file with this option, which apparently is not good for performance. Is there some solution to deploy the original js file and minified preload file to ABAP backend?

Thanks,

Rayman 

View Entire Topic
Rayman
Explorer
0 Kudos

@Marian_Zeis , the debug file is in the dist folder, however, it is not deployed to SAP ECC backend, as shown below.

Rayman_0-1730953157263.png

@junwu ,

We need the original js file as we use ABAP repository instead of GIT, which can maintain the same style as Web IDE. So we need the original js source file if some team member wants to open the project with Web IDE.

Thanks,
Rayman

 

 

 

 

Marian_Zeis
Active Contributor

The files are there but just not visible.

There are here in the green box. You can see the matching in the UI5RepositoryPathMapping.xml file

iScreen Shoter - Google Chrome - 241107080705.jpg