Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pass in compiler to devServer before() (#66)
The [`devServer.before()`](https://webpack.js.org/configuration/dev-server/#devserverbefore) API accepts three arguments: `app`, `server`, and `compiler`. When overriding this function, though, `error-overlay-webpack-plugin` only passes in the first two arguments, which can lead to exceptions when other `before` functions try to access `compiler`. This fixes that.
- Loading branch information