Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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