NPM Run Build Always Builds Production and Never Development
问题 On an inherited project I have, I am trying to get the build command to build a version other than Production . I have attempted to change the alias in the script section in package.json to pass in extra variables such as --dev and --configuration=dev to no avail. The project has these json data files: env.dev env.development env.production with the package.json has this build alias build:dev which I run npm run build:dev : "scripts": { "start": "NODE_ENV=dev && react-scripts start", … "build