cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ant npminstall and increased build time

former_member954576
Discoverer
2,819

Hi,

I am working on a smartedit extension and I had to run "ant npminstall" to build it. But now, everytime I run any task of ant, the build time has increased with a factor of 2 to 3 depending on the task. Is there a way to deactivate the npm task?

View Entire Topic
former_member717801
Discoverer
0 Likes

go to npmancillary\resources\ant\windows.properties

and change

#loc.NPM_HOME=${ext.npmancillary.path}\\resources\\npm

loc.NPM_HOME=NotSet

This way we can speed up the build time of Hybris by preventing Grunt from being executed.

Note that you don’t want to disable Grunt permanently !