We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b1e946 commit ee001bdCopy full SHA for ee001bd
bin/cli.js
@@ -314,7 +314,8 @@ For more information, see https://webpack.js.org/api/cli/.`);
314
lastHash = null;
315
console.error(err.stack || err);
316
if (err.details) console.error(err.details);
317
- process.exit(1); // eslint-disable-line
+ process.exitCode = 1;
318
+ return;
319
}
320
if (outputOptions.json) {
321
stdout.write(JSON.stringify(stats.toJson(outputOptions), null, 2) + "\n");
0 commit comments