Revert "Revert "Merge pull request #127874 from microsoft/joh/webpack5""

This reverts commit c5f12c7226.
This commit is contained in:
Johannes Rieken
2021-07-08 10:28:33 +02:00
parent c24621a3ce
commit a3e07245ee
7 changed files with 574 additions and 128 deletions

View File

@@ -390,7 +390,7 @@ async function webpackExtensions(taskName, isWatch, webpackConfigLocations) {
reject();
}
else {
reporter(stats.toJson());
reporter(stats === null || stats === void 0 ? void 0 : stats.toJson());
}
});
}
@@ -401,7 +401,7 @@ async function webpackExtensions(taskName, isWatch, webpackConfigLocations) {
reject();
}
else {
reporter(stats.toJson());
reporter(stats === null || stats === void 0 ? void 0 : stats.toJson());
resolve();
}
});