Update the JS tooling

* get rid of gulp
* use webpack-dev-server to serve app.js
* express serves static files
* 2 webpack configs: local and production
* for development with backend, websocket URL is injected
* remove unneeded static files
This commit is contained in:
David Kaltschmidt
2015-08-20 21:49:59 +02:00
parent 7ca9dd32e6
commit e518bedecb
17 changed files with 251 additions and 1175 deletions

View File

@@ -0,0 +1,7 @@
// This file is an entrypoint for development,
// see main.js for the real entrypoint
// Inject websocket url to dev backend
window.WS_URL = 'ws://' + location.hostname + ':4040';
require('./main');