Skip to content

Correct wrong documented synchronicity of Compiler's before-compile event #1142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 23, 2017

Conversation

caesarsol
Copy link
Contributor

@caesarsol caesarsol commented Apr 21, 2017

The before-compile event was documented as sync.

If I got it right, the fact that is executed with applyPluginsAsync (as seen here) makes it async.

Is that correct? I'm just starting to dig through the documentation, learning something about the internals.

… event

If I got it right, the fact that is executed with `applyPluginsAsync ` (as seen [here](https://github.com/webpack/webpack/blob/ab2270263e9af5b0dd83e454c20ab3aa1797424a/lib/Compiler.js#L476))

Is that correct? I'm just starting to dig through the documentation, learning something about the internals.
@simon04 simon04 requested a review from bebraw April 23, 2017 12:37
@bebraw bebraw merged commit 2e5d91c into webpack:master Apr 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants