on 08-31-2018 3:22 PM
Hi,
I am trying to deploy my custom UI5 application to SCP, via WebIDE (Full Stack) but it fails during BUILD due to ES6 JS code.
Removing ES6 code and replacing with ES5 means the build works fine with no issues.
Uglify issue perhaps? The build console log is not very clear.
Cheers,
James
> Uglify issue perhaps?
Yes, see https://stackoverflow.com/a/52841062 for explanation.
Update: As of "@sap/grunt-sapui5-bestpractice-build": "1.3.65", the below workaround is no longer needed!
________
Earlier answer:
For now, you can add "grunt-openui5": "0.15.0" to the package.json file in order to enable deploying with ES6 syntax.
{
"name": "...",
"version": "0.0.1",
"description": "...",
"private": true,
"devDependencies": {
"@sap/grunt-sapui5-bestpractice-build": "1.3.62",
"grunt-openui5": "0.15.0"
}
}
To check the latest version of grunt-openui5, run:
npm view grunt-openui5
Or just visit this npm page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.