ionic-team / ionic-gulp-tasks

Collection of gulp tasks for building Ionic apps
41 stars 33 forks source link

fix(Webpack): fix webpack callback for fatal error #47

Closed julienevano closed 3 years ago

julienevano commented 8 years ago

According to the implementation of the [run method of webpack compiler](https://github.com/webpack/webpack/blob/master/lib/Compiler.js

L180), the callback function can be called without passing any stats

in the case of a fatal error, e.g. when using the option bail of webpack.

fix #46