We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d04e6c + c545ba8 commit 4d258a9Copy full SHA for 4d258a9
lib/make-hot.js
@@ -75,7 +75,7 @@ const renderApplyHmr = ({
75
//
76
`${imports.join(';')};${`
77
if (${meta} && ${meta}.hot) {
78
- if (false) import.meta.hot.accept();
+ if (false) ${meta}.hot.accept();
79
$2 = ${globalName}.applyHmr({
80
m: ${meta},
81
id: ${json(id)},
0 commit comments