aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack.config.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-09-12 20:43:44 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-09-12 20:43:44 +0200
commit2e92c10b6cdb32e5170aab0b4c0ff3e4c27e30d5 (patch)
tree104ff4077318ebd489f2ef30a332835d1deb13c4 /client/webpack.config.js
parent772b47e36a1e63eedeaafe6cd7b1771dfb441ba7 (diff)
downloadPeerTube-2e92c10b6cdb32e5170aab0b4c0ff3e4c27e30d5.tar.gz
PeerTube-2e92c10b6cdb32e5170aab0b4c0ff3e4c27e30d5.tar.zst
PeerTube-2e92c10b6cdb32e5170aab0b4c0ff3e4c27e30d5.zip
Client: update a webpack configs
Diffstat (limited to 'client/webpack.config.js')
-rw-r--r--client/webpack.config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/webpack.config.js b/client/webpack.config.js
index 8f54d88e5..3d3af91ad 100644
--- a/client/webpack.config.js
+++ b/client/webpack.config.js
@@ -1,16 +1,16 @@
1switch (process.env.NODE_ENV) { 1switch (process.env.NODE_ENV) {
2 case 'prod': 2 case 'prod':
3 case 'production': 3 case 'production':
4 module.exports = require('./config/webpack.prod') 4 module.exports = require('./config/webpack.prod')({env: 'production'})
5 break 5 break
6 6
7 case 'test': 7 case 'test':
8 case 'testing': 8 case 'testing':
9 module.exports = require('./config/webpack.test') 9 module.exports = require('./config/webpack.test')({env: 'test'})
10 break 10 break
11 11
12 case 'dev': 12 case 'dev':
13 case 'development': 13 case 'development':
14 default: 14 default:
15 module.exports = require('./config/webpack.dev') 15 module.exports = require('./config/webpack.dev')({env: 'development'})
16} 16}