From d0a342d480df84b4002bdf220cdfcf6267c5d32d Mon Sep 17 00:00:00 2001 From: houhaoyu Date: Thu, 17 Mar 2022 22:43:14 +0800 Subject: [PATCH] houhaoyu@huawei.com revert Signed-off-by: houhaoyu Change-Id: I923f315cd1ba9ba6b9b64b10d31d36ccde860210 --- compiler/src/compile_info.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/compile_info.ts b/compiler/src/compile_info.ts index 529302f..afa50cb 100644 --- a/compiler/src/compile_info.ts +++ b/compiler/src/compile_info.ts @@ -145,7 +145,7 @@ export class ResultStates { }); }); - compiler.hooks.entryOption.tap('beforeRun', () => { + compiler.hooks.beforeRun.tap('beforeRun', () => { const rootFileNames: string[] = []; Object.values(projectConfig.entryObj).forEach((fileName: string) => { rootFileNames.push(fileName.replace('?entry', ''));