PeerTube/client/webpack.config.js

17 lines
394 B
JavaScript
Raw Normal View History

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