Is there any way to change command used to build a Node.js project after deploying code to Azure?
I can't use
node install
to install (download dependencies of) my project, because of some issue [described here] (too long paths of some modules).
I wanted to use dedupe command or some bash script that I found here:
npm ls | grep "^│ .* [^ ]@[^ ]$" | rev | cut -d " " -f1 | rev | sort -u -t "@" -k1,1 |xargs -L 1 npm install --no-registry --loglevel error
to solve this problem, but I don't know how to run those commands on Azure. Is it possible?