From f71e0e08f60e494717cde696596e16bf3e469c25 Mon Sep 17 00:00:00 2001 From: zhenzhenChange <1506678296@qq.com> Date: Sun, 10 Jan 2021 11:00:05 +0800 Subject: [PATCH] chore: typos (#1463) [skip ci] --- packages/plugin-vue-jsx/README.md | 2 +- packages/plugin-vue/src/handleHotUpdate.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-vue-jsx/README.md b/packages/plugin-vue-jsx/README.md index e4f0836a..098c7559 100644 --- a/packages/plugin-vue-jsx/README.md +++ b/packages/plugin-vue-jsx/README.md @@ -33,7 +33,7 @@ import { defineComponent } from 'vue' // named exports w/ variable declaration: ok export const Foo = defineComponent(...) -// named exports referencing vairable declaration: ok +// named exports referencing variable declaration: ok const Bar = defineComponent(...) export { Bar } diff --git a/packages/plugin-vue/src/handleHotUpdate.ts b/packages/plugin-vue/src/handleHotUpdate.ts index 00455a7e..be131824 100644 --- a/packages/plugin-vue/src/handleHotUpdate.ts +++ b/packages/plugin-vue/src/handleHotUpdate.ts @@ -104,7 +104,7 @@ export async function handleHotUpdate({ // custom blocks update causes a reload // because the custom block contents is changed and it may be used in JS. if (prevCustoms.length !== nextCustoms.length) { - // block rmeoved/added, force reload + // block removed/added, force reload affectedModules.add(mainModule) } else { for (let i = 0; i < nextCustoms.length; i++) {