From be68636f804e9c8f78208c6cdbf0865d4f8cb68e Mon Sep 17 00:00:00 2001 From: dmt0 Date: Sat, 30 Sep 2023 01:30:57 -0400 Subject: [PATCH 1/2] Don't hide compilation errors --- tasks/util/bundle_wrapper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/util/bundle_wrapper.js b/tasks/util/bundle_wrapper.js index 078961747a0..b2510381deb 100644 --- a/tasks/util/bundle_wrapper.js +++ b/tasks/util/bundle_wrapper.js @@ -76,6 +76,8 @@ module.exports = function _bundle(pathToIndex, pathToBundle, opts, cb) { console.log('err:', err); } else if(stats.errors && stats.errors.length) { console.log('stats.errors:', stats.errors); + } else if(stats.compilation && stats.compilation.errors && stats.compilation.errors.length) { + console.log('stats.compilation.errors:', stats.compilation.errors); } else { console.log('success:', config.output.path + '/' + config.output.filename); From 0ef174889ae9791a9fc603f9f28ee882959be956 Mon Sep 17 00:00:00 2001 From: dmt0 Date: Sat, 30 Sep 2023 01:47:01 -0400 Subject: [PATCH 2/2] Draftlog --- draftlogs/6739_fix.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 draftlogs/6739_fix.md diff --git a/draftlogs/6739_fix.md b/draftlogs/6739_fix.md new file mode 100644 index 00000000000..82ad01f7837 --- /dev/null +++ b/draftlogs/6739_fix.md @@ -0,0 +1 @@ + - Fix error display for failing builds [[#6739](https://github.com/plotly/plotly.js/pull/6739)]