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.
1 parent 0330a3e commit b668430Copy full SHA for b668430
src/main.ts
@@ -118,7 +118,9 @@ var __component__ = /*#__PURE__*/__normalizer(
118
output.push(`export const _rerender_only = true`)
119
}
120
output.push(
121
- `import.meta.hot.accept(({ default: updated, _rerender_only }) => {`,
+ `import.meta.hot.accept(mod => {`,
122
+ ` if (!mod) return`,
123
+ ` const { default: updated, _rerender_only } = mod`,
124
` if (_rerender_only) {`,
125
` __VUE_HMR_RUNTIME__.rerender(${id}, updated)`,
126
` } else {`,
0 commit comments