Require the config as CLI arg for watch, build and production-build

The mqtt control map now loads the config provided via cli. It is no longer required to modify the src/config.js to load a different config.
This commit is contained in:
uwap 2018-02-02 07:45:00 +01:00
parent 3975518f6e
commit c7ca716802
8 changed files with 34 additions and 22 deletions

View file

@ -60,4 +60,4 @@ const config : Config = {
]
};
export default config;
window.config = config;