Skip to content

Commit b391b04

Browse files
committed
chore: remove unncessary log
1 parent 5a13fa2 commit b391b04

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: src/hotReload.ts

-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ if (module.hot) {
1111
const api = __VUE_HMR_RUNTIME__
1212
module.hot.accept()
1313
if (!api.createRecord('${id}', __exports__)) {
14-
console.log('reload')
1514
api.reload('${id}', __exports__)
1615
}
1716
${templateRequest ? genTemplateHotReloadCode(id, templateRequest) : ''}
@@ -22,7 +21,6 @@ if (module.hot) {
2221
function genTemplateHotReloadCode(id: string, request: string) {
2322
return `
2423
module.hot.accept(${request}, () => {
25-
console.log('re-render')
2624
api.rerender('${id}', render)
2725
})
2826
`

0 commit comments

Comments
 (0)