From 851d5283fe53312b7290f5e29ed4d537bed8c753 Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Mon, 19 Jun 2023 21:03:48 +0200 Subject: [PATCH] Do not wrap data on channel in an array --- code/builders/builder-webpack5/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/builders/builder-webpack5/src/index.ts b/code/builders/builder-webpack5/src/index.ts index 3ae9c53e9a99..35f1fea6c81f 100644 --- a/code/builders/builder-webpack5/src/index.ts +++ b/code/builders/builder-webpack5/src/index.ts @@ -163,7 +163,7 @@ const starter: StarterFunction = async function* starterGeneratorFn({ } } - channel.emit(PREVIEW_BUILDER_PROGRESS, [progress]); + channel.emit(PREVIEW_BUILDER_PROGRESS, progress); }, modulesCount, }).apply(compiler);