Skip to content

Commit

Permalink
chore: typos (#1463) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenzhenChange authored Jan 10, 2021
1 parent 40990a6 commit f71e0e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-vue-jsx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-vue/src/handleHotUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit f71e0e0

Please sign in to comment.