From 7e4d61d48e1e90052beb14f7966063d045874a38 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Wed, 31 Mar 2021 21:45:32 +0200 Subject: [PATCH] chore: prefer-const (#2733) --- packages/plugin-vue/src/handleHotUpdate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-vue/src/handleHotUpdate.ts b/packages/plugin-vue/src/handleHotUpdate.ts index 3b3ec974..e47d3b17 100644 --- a/packages/plugin-vue/src/handleHotUpdate.ts +++ b/packages/plugin-vue/src/handleHotUpdate.ts @@ -127,7 +127,7 @@ export async function handleHotUpdate({ } } - let updateType = [] + const updateType = [] if (needRerender) { updateType.push(`template`) // template is inlined into main, add main module instead