Skip to content

Commit 724bab1

Browse files
authored
Merge pull request #6739 from dmt0/dont-hide-errors
Don't hide compilation errors
2 parents 915a52b + 0ef1748 commit 724bab1

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

draftlogs/6739_fix.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Fix error display for failing builds [[#6739](https://github.com/plotly/plotly.js/pull/6739)]

tasks/util/bundle_wrapper.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ module.exports = function _bundle(pathToIndex, pathToBundle, opts, cb) {
7676
console.log('err:', err);
7777
} else if(stats.errors && stats.errors.length) {
7878
console.log('stats.errors:', stats.errors);
79+
} else if(stats.compilation && stats.compilation.errors && stats.compilation.errors.length) {
80+
console.log('stats.compilation.errors:', stats.compilation.errors);
7981
} else {
8082
console.log('success:', config.output.path + '/' + config.output.filename);
8183

0 commit comments

Comments
 (0)