revert

Signed-off-by: houhaoyu <houhaoyu@huawei.com>
Change-Id: I923f315cd1ba9ba6b9b64b10d31d36ccde860210
This commit is contained in:
houhaoyu
2022-03-17 22:43:14 +08:00
parent 349585ae5d
commit d0a342d480
+1 -1
View File
@@ -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', ''));