From ddc23974dc030f5f6655e1238e61e3d0070ada83 Mon Sep 17 00:00:00 2001 From: Byur Date: Thu, 30 May 2024 16:15:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin-compiler):=20=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E7=BC=96=E8=AF=91=E6=97=B6=EF=BC=8C=E6=9C=80?= =?UTF-8?q?=E7=BB=88=E8=BE=93=E5=85=A5=E7=9A=84=E9=85=8D=E7=BD=AE=E4=BF=9D?= =?UTF-8?q?=E7=95=99main=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugin-compiler/src/entries/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/plugin-compiler/src/entries/index.ts b/packages/plugin-compiler/src/entries/index.ts index 8dd1049b..3c32f0cb 100644 --- a/packages/plugin-compiler/src/entries/index.ts +++ b/packages/plugin-compiler/src/entries/index.ts @@ -1947,7 +1947,8 @@ export class EntryBuilder implements SupportExts, EntryBuilderHelpers { pluginJson = { publicComponents: pluginJson?.publicComponents || {}, publicPages, - pages: Object.values(publicPages) + pages: Object.values(publicPages), + main: pluginJson?.main } as IPluginConfig } globalEntry = await this.buildByPlugin(pluginJson, pluginJsonPath)