09-13-2017 2:29 PM - edited 02-04-2024 1:45 AM
Hi Experts,
We want to create minified version of our ui5 project. We are developing in webide. We are able to create dist folder and inside that we are able to create component-preload.js file also using build.
My requirement is, like in SAP Fiori standard app, we can see each js file has corresponding -dbg.js file. I also want to create all corresponding dbg.js files.
Experts, please guide me how can i achieve it.
Thanks a lot.
Regards,
Dashrath Singh
Hello,
Grunt tool can generate -dbg.js files. As of now SAP Web IDE can only generate component-preload.js file.
You can use the grunt_openui5 task runner to generate minified versions
https://github.com/SAP/grunt-openui5
https://www.sap.com/india/developer/tutorials/webide-grunt-basic.html
Thanks,
NP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Naga,
I found out the solution. I was doing all these in normal sap webide. For this, we need to enable Multi Cloud Version.
It can be enabled like this. In this,i can see Build option also in menu.
Now i am able to create -dbg.js file for every .js files.
Thanks a lot.
Regards,
Dashrath Singh
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.