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

Fix webpack callback for fatal error #46

Open
julienevano opened this issue Aug 4, 2016 · 0 comments
Open

Fix webpack callback for fatal error #46

julienevano opened this issue Aug 4, 2016 · 0 comments

Comments

@julienevano
Copy link

According to the implementation of the run method of webpack compiler, 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.

julienevano pushed a commit to julienevano/ionic-gulp-tasks that referenced this issue Aug 4, 2016
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 a pull request may close this issue.

1 participant