cancel
Showing results for 
Search instead for 
Did you mean: 

Adjust Web IDE build process?

htammen
Active Contributor
0 Kudos

Is it possible to adjust the build process in SAP Web IDE?

Outside SAP world I'm developing a lot with TypeScript. I would like to do the same in Web IDE. To achieve this the Typescript transpiler (creates js file from ts file) must be invoked after each save of a file or manually.

Is it possible to install additional tools in Web IDE and invoke them during build of a project?

As I'm using TypeScript others might want to use CoffeeScript, ES6 with Babel, ...

Accepted Solutions (1)

Accepted Solutions (1)

chaimbendelac
Advisor
Advisor

Hi Helmut,

That is a great question! (You know what they say: questions with good answers are the best kind :-))

We have been working on exactly this problem.

We plan to introduce, in early 2017, a new "build" solution with the Web IDE, that will use open-source Grunt to build your project, before it is previewed or deployed. We will release this with SAP "best practices" for building Fiori/SAPUI5 projects (optimizations and compression, validations), but with the appropriate build scripts, it opens the door to exactly the common practices that you use.

The same grunt scripts can optionally be used in "continuous integration" process as well.

htammen
Active Contributor
0 Kudos

Great news Chaim. I will follow the news on that

Thx Helmut

Answers (1)

Answers (1)

yuval_morad
Employee
Employee

for es6 syntax error disable please perform the following:

go to project settings->javascript

in validator configuration section add to env section

"env": { "es6": true }