Skip to content

Commit

Permalink
chore: fix typo (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
w2xi authored Oct 28, 2024
1 parent de88394 commit 4a811b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-vue/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function transformMain(
// for vue files, create descriptor from fs read to be consistent with
// logic in handleHotUpdate()
// for non vue files, e.g. md files in vitepress, we assume
// `hmrContext.read` is overwriten so handleHotUpdate() is dealing with
// `hmrContext.read` is overwritten so handleHotUpdate() is dealing with
// post-transform code, so we populate the descriptor with post-transform
// code here as well.
filename.endsWith('.vue') ? undefined : code,
Expand Down

0 comments on commit 4a811b0

Please sign in to comment.