mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 22:32:23 +02:00
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:
@@ -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')
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user