PeerTube/client/webpack.config.js
2016-06-03 22:08:03 +02:00

17 lines
333 B
JavaScript

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