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

fix problem when HMR and different runtimes #12075

Merged
merged 4 commits into from Nov 28, 2020
Merged

Conversation

sokra
Copy link
Member

@sokra sokra commented Nov 28, 2020

allow HMR to work in WebWorkers too

What kind of change does this PR introduce?
bugfix

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no. There is a new warning when using a bad config which hints you to change your config to avoid the bug.

What needs to be documented once your changes are merged?

  • [runtime] can be used a placeholder in output.hotUpdateMainFilename.

@webpack-bot
Copy link
Contributor

webpack-bot commented Nov 28, 2020

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

allow HMR to work in WebWorkers too
@sokra sokra force-pushed the bugfix/hmr-multiple-runtimes branch from 375b63c to d46f945 Compare November 28, 2020 12:53
@sokra sokra merged commit c16e968 into master Nov 28, 2020
@sokra sokra deleted the bugfix/hmr-multiple-runtimes branch November 28, 2020 19:01
@webpack-bot
Copy link
Contributor

I've created an issue to document this in webpack/webpack.js.org.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants