1
0
Fork 0
peertube/client/webpack.config.js

17 lines
391 B
JavaScript
Raw Normal View History

switch (process.env.NODE_ENV) {
case 'prod':
case 'production':
2016-09-12 14:43:44 -04:00
module.exports = require('./config/webpack.prod')({env: 'production'})
break
case 'test':
case 'testing':
2016-09-12 14:43:44 -04:00
module.exports = require('./config/webpack.test')({env: 'test'})
break
case 'dev':
case 'development':
default:
2016-09-12 14:43:44 -04:00
module.exports = require('./config/webpack.dev')({env: 'development'})
}