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:
parent
4688925411
commit
4a6995be18
73 changed files with 888 additions and 1066 deletions
16
client/webpack.config.js
Normal file
16
client/webpack.config.js
Normal 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')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue