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


                               
                                                                           



                 
                                                                     




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

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

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