cancel
Showing results for 
Search instead for 
Did you mean: 

Web Ide Build Problem Arrow Functions

juancarlosorta
Participant
0 Kudos

Hello,

I have problems to make a build with webide fullstack. It seems that the arrow operator that I use for promises

Promise.all([fnfuntion]).then(function (values) {...}).catch(reason => {...

web ide does not accept it. I was able to remove the eslint error in the code, adding in the project settings (in validator configuration section adding to env section "env": {"es6": true} ) but the build continues to fail.

Do you know how I can force it to make a correct build?

This message appears on the console:

but I do not know how to force it.

Thanks and regards

Accepted Solutions (1)

Accepted Solutions (1)

maheshpalavalli
Active Contributor
0 Kudos

Hi Juan,

Please check the below blog which has information, which has the ES6 support for grunt.

https://blogs.sap.com/2017/11/01/next-generation-javascript-in-ui5-using-sap-web-ide/

BR,

Mahesh

Answers (1)

Answers (1)

juancarlosorta
Participant
0 Kudos

Thank you very much Mahesh, something like that is what I was looking for.