Switch huly core (#10041)

* Switch to huly.core

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

* Fix build

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>

---------

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2025-10-07 20:23:46 +05:00
committed by GitHub
parent dd74587eb0
commit 0a682d03e3
840 changed files with 9459 additions and 41815 deletions
+6 -3
View File
@@ -19,12 +19,15 @@ import login from '@hcengineering/login'
import { addLocation, setMetadata } from '@hcengineering/platform'
import presentation from '@hcengineering/presentation'
export function configurePlatformDevServer() {
export function configurePlatformDevServer () {
// Set devmodel to hook client to be able to present all activity
enableDevModel()
}
function enableDevModel() {
function enableDevModel () {
setMetadata(presentation.metadata.ClientHook, new PresentationClientHook())
addLocation(devModelId, () => import(/* webpackChunkName: "devmodel" */ '@hcengineering/devmodel-resources'))
addLocation(
devModelId,
async () => await import(/* webpackChunkName: "devmodel" */ '@hcengineering/devmodel-resources')
)
}