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: manager build config updates

Rich Turnera1acfabbd3da
diff --git a/ui/app/manager/package.json b/ui/app/manager/package.json
index e0e34c115..e36a1637d 100644
--- a/ui/app/manager/package.json
+++ b/ui/app/manager/package.json
@@ -5,6 +5,16 @@
"author": "OpenRemote",
"license": "AGPL-3.0-or-later",
"private": true,
+ "exports": {
+ "./*": "./dist/*.js"
+ },
+ "typesVersions": {
+ "*": {
+ "*": [
+ "dist/*"
+ ]
+ }
+ },
"scripts": {
"clean": "npx shx rm -rf dist",
"modelBuild": "npx orutil build",
diff --git a/ui/app/manager/tsconfig.json b/ui/app/manager/tsconfig.json
index 4a25bff03..6d863c6c5 100644
--- a/ui/app/manager/tsconfig.json
+++ b/ui/app/manager/tsconfig.json
@@ -1,7 +1,9 @@
{
"extends": "../../tsconfig",
"compilerOptions": {
- "tsBuildInfoFile": "./.tsbuildinfo",
+ "outDir": "./dist",
+ "tsBuildInfoFile": "./dist/.tsbuildinfo",
+ "rootDir": "src",
"strict": false
},
"include": [