aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/webpack.config.js
blob: 3d3af91ad10072b54857cbbd815ccdca5334688d (plain) (tree)
1
2
3
4
5
6
7
8
9

                               
                                                                          


                 
                                                                    



                     
                                                                          
 
switch (process.env.NODE_ENV) {
  case 'prod':
  case 'production':
    module.exports = require('./config/webpack.prod')({env: 'production'})
    break

  case 'test':
  case 'testing':
    module.exports = require('./config/webpack.test')({env: 'test'})
    break

  case 'dev':
  case 'development':
  default:
    module.exports = require('./config/webpack.dev')({env: 'development'})
}