2016-06-03 15:08:03 -05:00
|
|
|
switch (process.env.NODE_ENV) {
|
|
|
|
case 'prod':
|
|
|
|
case 'production':
|
2017-12-12 04:38:02 -06:00
|
|
|
module.exports = require('./webpack/webpack.prod')({env: 'production'})
|
2016-06-03 15:08:03 -05:00
|
|
|
break
|
|
|
|
|
|
|
|
case 'test':
|
|
|
|
case 'testing':
|
2017-12-12 04:38:02 -06:00
|
|
|
module.exports = require('./webpack/webpack.test')({env: 'test'})
|
2016-06-03 15:08:03 -05:00
|
|
|
break
|
|
|
|
|
|
|
|
case 'dev':
|
|
|
|
case 'development':
|
|
|
|
default:
|
2017-12-12 04:38:02 -06:00
|
|
|
module.exports = require('./webpack/webpack.dev')({env: 'development'})
|
2016-06-03 15:08:03 -05:00
|
|
|
}
|