refactor webpack config

This commit is contained in:
uwap 2018-06-19 12:35:10 +02:00
parent 2d97ae4239
commit 8a37cf2c95
9 changed files with 31 additions and 131 deletions

View file

@ -8,9 +8,9 @@
1. run `yarn` to install all dependencies.
2. run `yarn watch CONFIG` to run a local build server that automatically builds
your the mqtt control map for the given CONFIG everytime something changes.
3. run `yarn build CONFIG` to create just a single build of the mqtt control map
3. run `yarn dev CONFIG` to create just a single build of the mqtt control map
for the given config.
4. run `yarn production-build CONFIG` to generate all files for production use.
4. run `yarn build CONFIG` to generate all files for production use.
## Config