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: Fix for core bundling

Rich Turner69e73685611f
diff --git a/ui/component/core/src/index.ts b/ui/component/core/src/index.ts
index f58e542de..f01f66e5e 100644
--- a/ui/component/core/src/index.ts
+++ b/ui/component/core/src/index.ts
@@ -1037,8 +1037,6 @@ export class Manager implements EventProviderFactory {
}
}
-const manager = new Manager();
-const _iconSets = new ORIconSets();
-
-export const IconSets = _iconSets;
+export const manager = new Manager(); // Needed for webpack bundling
+export const IconSets = new ORIconSets();
export default manager;