Skip to content

Commit ecea3c3

Browse files
Jinjiangyyx990803
authored andcommitted
refactor: small code fix for hot-reload (#1079)
1 parent fa4d25e commit ecea3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ module.exports = function (content) {
413413
output +=
414414
` hotAPI.${
415415
functionalTemplate ? 'rerender' : 'reload'
416-
}("${moduleId}", Component.options)\n' + ' }\n`
416+
}("${moduleId}", Component.options)\n }\n`
417417
// dispose
418418
output +=
419419
' module.hot.dispose(function (data) {\n' +

0 commit comments

Comments
 (0)