Skip to content

Commit 6322c1d

Browse files
committed
Simplify build script
1 parent 49abcc2 commit 6322c1d

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

  • packages/snaps-execution-environments/scripts

packages/snaps-execution-environments/scripts/build.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,12 @@ webpack(config, (error, stats) => {
2929
return;
3030
}
3131

32-
if (stats.hasErrors()) {
33-
console.error(
34-
chalk.red(
35-
'Webpack finished with errors. See the error(s) below for more details.',
36-
),
37-
);
38-
39-
console.log(indent(chalk.red(stats.toString('errors-only')), 2));
40-
return;
41-
}
42-
4332
console.log(
4433
stats.toString({
4534
all: false,
4635
assets: true,
4736
colors: true,
37+
errors: true,
4838
assetsSort: 'name',
4939
}),
5040
);

0 commit comments

Comments
 (0)