I have nuxt.js APP with SSR that is being deployed on Azure. All good and it works except that the deployment process takes like 10 minutes due to the node_modules folder.
On the server side, there is a 'standard' node js server setup. The artifact structure that is being deployed looks like in the screenshot.
The deployment takes about 10 minutes and that is due to the node_modules folder. If I remove node_modules from the artifact the app stops working.
I looked around but couldn't find any good reference, of how to deploy nuxt.js app with SSR and without the node_modules folder on the server.
As I understand from the link below the .nuxt folder should be enough on the server, but I don't know how to get it running. Maybe it has something with the server setup?
https://nuxtjs.org/docs/2.x/get-started/commands/#production-deployment
Any tips are welcomed.
