Skip to content

Commit

Permalink
Merge pull request #1981 from simplepractice/revert-webpack-close
Browse files Browse the repository at this point in the history
Revert "Webpack: close the compiler"
  • Loading branch information
void-mAlex committed Jun 12, 2024
2 parents 4acc15f + 4dd1f82 commit 06e9c9f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions packages/webpack/src/ember-webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,16 +564,7 @@ const Webpack: PackagerConstructor<Options> = 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);
}
Expand Down

0 comments on commit 06e9c9f

Please sign in to comment.