Skip to content
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

Changing webpack compiler hook from emit to afterEmit #312

Closed
geldmacher opened this issue Dec 3, 2020 · 2 comments
Closed

Changing webpack compiler hook from emit to afterEmit #312

geldmacher opened this issue Dec 3, 2020 · 2 comments

Comments

@geldmacher
Copy link
Contributor

geldmacher commented Dec 3, 2020

Is your feature request related to a problem? Please describe.
It is not possible to access the emitted files in the processOutput function.

Describe the solution you'd like
Changing the webpack compiler hook from emit to afterEmit solves the problem.

@ztoben
Copy link
Owner

ztoben commented Dec 3, 2020

So this was originally changed during the webpack 5 upgrade because it would throw a warning for using emit rather than afterEmit, but testing it locally really quick it looks like that no longer happens so I'll get it changed back.

@ztoben
Copy link
Owner

ztoben commented Dec 3, 2020

@geldmacher should be fixed in v6.1.0. Thanks again!

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

No branches or pull requests

2 participants