PeerTube/client/webpack.config.js
2017-12-12 11:42:48 +01:00

17 lines
394 B
JavaScript

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'})
}