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