Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

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

Conversation

julienevano
Copy link

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

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 ionic-team#46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix webpack callback for fatal error
1 participant