Dear Stack Overflow community
I have this web application with Node.js on the backend and Angular on the frontend (inside the /public folder).
Every time I want to deploy the application have to navigate to the /public folder and run the command ng build --prod
to have a dist folder generated (/public/dist).
Is there a way to make NPM run the ng build --prod
command inside the /public folder, so I don't have to do it manually each time I want to deploy the app?
I'm looking forward to hear from you. Thanks for your time.
via Kasper
No comments:
Post a Comment