From 9bacb2cbfc8ff56fd4ebc4f8e67641ac42b40258 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Sun, 28 Nov 2021 18:03:26 +0700 Subject: [PATCH] Fix webpack build client Fix webpack build client Signed-off-by: Andrey Sobolev --- dev/prod/src/platform.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev/prod/src/platform.ts b/dev/prod/src/platform.ts index 32d30a91f1..89c9ecdd62 100644 --- a/dev/prod/src/platform.ts +++ b/dev/prod/src/platform.ts @@ -25,6 +25,7 @@ import { recruitId } from '@anticrm/recruit' import { activityId } from '@anticrm/activity' import { settingId } from '@anticrm/setting' import { telegramId } from '@anticrm/telegram' +import { clientId } from '@anticrm/client' import '@anticrm/login-assets' import '@anticrm/task-assets' @@ -47,6 +48,7 @@ export function configurePlatform() { setMetadata(login.metadata.TelegramUrl, process.env.TELEGRAM_URL ?? 'http://localhost:8086') setMetadata(login.metadata.OverrideEndpoint, process.env.LOGIN_ENDPOINT) + addLocation(clientId, () => import(/* webpackChunkName: "client" */ '@anticrm/client-resources')) addLocation(loginId, () => import(/* webpackChunkName: "login" */ '@anticrm/login-resources')) addLocation(workbenchId, () => import(/* webpackChunkName: "workbench" */ '@anticrm/workbench-resources')) addLocation(viewId, () => import(/* webpackChunkName: "view" */ '@anticrm/view-resources'))