0

Whenever I run "npm run build" command, my vue project automatically use ".env.production" file(which is one of my .env files). I would like to build my project by specifying env files for example

  1. npm run build .env.production (to deploy on production server)
  2. npm run build .env.development (to deploy on development server)

Is there any way I can specify environment variables when running "npm run build"????

Seon Woo Kim
  • 1
  • 1
  • 1

0 Answers0