From 2e5ca96196e76ca2c048e234f70055eeaa0058f9 Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Sat, 26 Jun 2021 15:06:22 +0800 Subject: [PATCH] Webpack5: Fix warnings typo --- lib/builder-webpack5/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder-webpack5/src/index.ts b/lib/builder-webpack5/src/index.ts index 6cdad68e5971..9c19be3b15e8 100644 --- a/lib/builder-webpack5/src/index.ts +++ b/lib/builder-webpack5/src/index.ts @@ -60,7 +60,7 @@ export const start: WebpackBuilder['start'] = async ({ startTime, options, route totalTime: process.hrtime(startTime), stats: ({ hasErrors: () => true, - hasWarngins: () => false, + hasWarnings: () => false, toJson: () => ({ warnings: [] as any[], errors: [err] }), } as any) as Stats, };