Skip to content

Commit be68636

Browse files
committed
Don't hide compilation errors
1 parent 915a52b commit be68636

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)