Search code examples
node.jscordovasap-commerce-cloud

Use npm package manager in SAP Hybris


I want to use apache cordova inside SAP Hybris.

I saw that Hybris has some extensions like npmancillary that have nodejs and npm inside it.

But I could not find a way to execute npm as part of hybris and install the new packages I want.

How to use npm package manager inside the SAP Hybris build flow to install new packages?


Solution

  • My knowledge about nodejs in hybris: It is using for compiling scss and sass stylesheet in compile time. It is not included released project. On the other hand, you can host js/html files in hybris for cordova. You need custom filter with special root map for it.