Skip to content

Commit

Permalink
fix: only return transform for vue files
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Dec 20, 2024
1 parent 87265fb commit db45616
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/unplugin-vue-i18n/src/core/directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,10 @@ export function directivePlugin({
)
}
}
}

return {
code,
map: { version: 3, mappings: '', sources: [] } as any
return {
code,
map: { version: 3, mappings: '', sources: [] } as any
}
}
}
}
Expand Down

0 comments on commit db45616

Please sign in to comment.