If I run npm build the build files are getting generated in the home directory of the project. Is there any way I can specify custom directory to generate build outside the home directory of the project?
Use case : I want to maintain build files and the development code in different repositories so that it will be easy for me to push to my CDN
If I run
npm buildthe build files are getting generated in the home directory of the project. Is there any way I can specify custom directory to generate build outside the home directory of the project?Use case : I want to maintain build files and the development code in different repositories so that it will be easy for me to push to my CDN