mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-26 02:30:37 -06:00
17 lines
391 B
JavaScript
17 lines
391 B
JavaScript
switch (process.env.NODE_ENV) {
|
|
case 'prod':
|
|
case 'production':
|
|
module.exports = require('./config/webpack.prod')({env: 'production'})
|
|
break
|
|
|
|
case 'test':
|
|
case 'testing':
|
|
module.exports = require('./config/webpack.test')({env: 'test'})
|
|
break
|
|
|
|
case 'dev':
|
|
case 'development':
|
|
default:
|
|
module.exports = require('./config/webpack.dev')({env: 'development'})
|
|
}
|