Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

UI updates: build config

Rich Turner795216bf4a43
diff --git a/ui/demo/demo-or-map/package.json b/ui/demo/demo-or-map/package.json
index 2c62434ed..f04bb366d 100644
--- a/ui/demo/demo-or-map/package.json
+++ b/ui/demo/demo-or-map/package.json
@@ -4,7 +4,7 @@
"description": "Component Demo",
"scripts": {
"clean": "npx shx rm -rf dist",
- "build": "npx webpack",
+ "build": "npx tsc -b && npx cross-env NODE_ENV=production webpack",
"serve": "npx webpack-dev-server",
"test": "echo \"Error: no test specified\" && exit 1"
},