Skip to content

fix: hot reload for plugins - #3869

Merged
Jack-Works merged 1 commit into
developfrom
fix-plugin-hmr
Aug 11, 2021
Merged

fix: hot reload for plugins#3869
Jack-Works merged 1 commit into
developfrom
fix-plugin-hmr

Conversation

@Jack-Works

Copy link
Copy Markdown
Member

This is a regression introduced in #3471 which @guanbinrui converts all import.meta.webpackHot && import.meta.webpackHot.accept into import.meta.webpackHot?.accept. I was raised concern about if HMR still works and get the answer of yes but it proved it's not the case.

We can go back to ?. once we get #3750 back (that depends on webpack/webpack#12960).

@Jack-Works
Jack-Works requested review from a team and guanbinrui August 9, 2021 05:30
@Jack-Works
Jack-Works enabled auto-merge (squash) August 11, 2021 05:04
@Jack-Works
Jack-Works merged commit c3651fd into develop Aug 11, 2021
@Jack-Works
Jack-Works deleted the fix-plugin-hmr branch August 11, 2021 05:25
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.

3 participants