From 4dd1f824020ae9a3c1ccb3f4b325cb71a43f4bc9 Mon Sep 17 00:00:00 2001 From: Dmitry Krasnoukhov Date: Wed, 12 Jun 2024 15:48:22 +0300 Subject: [PATCH] Revert "Webpack: close the compiler" This reverts commit 1539b2a45648058232629273353e42ca20f7456d. --- packages/webpack/src/ember-webpack.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/packages/webpack/src/ember-webpack.ts b/packages/webpack/src/ember-webpack.ts index 7cafb0329..83702c074 100644 --- a/packages/webpack/src/ember-webpack.ts +++ b/packages/webpack/src/ember-webpack.ts @@ -564,16 +564,7 @@ const Webpack: PackagerConstructor = class Webpack implements Packager }) ); } - webpack.close(err => { - if (err) { - if (stats) { - this.consoleWrite(stats.toString()); - } - throw err; - } - - resolve(stats); - }); + resolve(stats); } catch (e) { reject(e); }