Npm dependencies

I found an 6 year old thread about npm dependencies in controllers.

According to the thread this was planned to implement.
Is this now possible?

I’m using the Webpack starter for my XP-projects, and I can use npm-packages.

Not everything will work if they rely on APIs that are not provided by XP, but it is possible to polyfill some missing things.

– Tom Arild

Thx. Tom for your answer.
Do you know which parts of the starter are necessary to use npm-packages in the controller?
I do not any client-stuff here !


The short answer is: if you remove this line, you can pretty much rip out all the client stuff:

Hi @luctho - Did you get the answer you were looking for?

Hi @tsi,

yes works for me.