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-24 12:41:17 +02:00
parent 7ca9dd32e6
commit e518bedecb
17 changed files with 251 additions and 1175 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
FROM node:0.10
WORKDIR /home/weave
RUN npm install -g gulp
COPY package.json /home/weave/
RUN npm install
COPY gulpfile.js webpack.config.js .eslintrc /home/weave/
COPY webpack.local.config.js webpack.production.config.js server.js .eslintrc /home/weave/