aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/webpack.config.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:08:03 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:08:03 +0200
commit4a6995be18b15de1834a39c8921a0e4109671bb6 (patch)
treeb659661cea33687fcc6bd8fc2251cb7a15ab9f9d /client/webpack.config.js
parent468892541175f9662f8b1b977e819dc1a496f282 (diff)
downloadPeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.tar.gz
PeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.tar.zst
PeerTube-4a6995be18b15de1834a39c8921a0e4109671bb6.zip
First draft to use webpack instead of systemjs
Diffstat (limited to 'client/webpack.config.js')
-rw-r--r--client/webpack.config.js16
1 files changed, 16 insertions, 0 deletions
diff --git a/client/webpack.config.js b/client/webpack.config.js
new file mode 100644
index 000000000..8f54d88e5
--- /dev/null
+++ b/client/webpack.config.js
@@ -0,0 +1,16 @@
1switch (process.env.NODE_ENV) {
2 case 'prod':
3 case 'production':
4 module.exports = require('./config/webpack.prod')
5 break
6
7 case 'test':
8 case 'testing':
9 module.exports = require('./config/webpack.test')
10 break
11
12 case 'dev':
13 case 'development':
14 default:
15 module.exports = require('./config/webpack.dev')
16}