esbuild error logging
This commit is contained in:
parent
25b6503049
commit
c5c30cf8c3
1 changed files with 4 additions and 1 deletions
|
|
@ -9,4 +9,7 @@ build({
|
|||
minify: true,
|
||||
legalComments: 'none',
|
||||
drop: ['console', 'debugger'],
|
||||
}).catch(() => process.exit(1));
|
||||
}).catch((e) => {
|
||||
console.error('esbuild failed:', e);
|
||||
process.exit(1);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue