1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

First draft to use webpack instead of systemjs

This commit is contained in:
Chocobozzz 2016-06-03 22:08:03 +02:00
parent 4688925411
commit 4a6995be18
73 changed files with 888 additions and 1066 deletions

16
client/webpack.config.js Normal file
View file

@ -0,0 +1,16 @@
switch (process.env.NODE_ENV) {
case 'prod':
case 'production':
module.exports = require('./config/webpack.prod')
break
case 'test':
case 'testing':
module.exports = require('./config/webpack.test')
break
case 'dev':
case 'development':
default:
module.exports = require('./config/webpack.dev')
}