Skip to content

Commit

Permalink
fix(unplugin-vue-i18n): remove directives plugin warnings on SSR build (
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Nov 9, 2024
1 parent 05a79b5 commit d905b9f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/unplugin-vue-i18n/src/core/directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ export function directivePlugin({
)
}

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

0 comments on commit d905b9f

Please sign in to comment.