diff --git a/packages/unplugin-vue-i18n/src/core/directive.ts b/packages/unplugin-vue-i18n/src/core/directive.ts index 8729652..e82782e 100644 --- a/packages/unplugin-vue-i18n/src/core/directive.ts +++ b/packages/unplugin-vue-i18n/src/core/directive.ts @@ -89,14 +89,13 @@ export function directivePlugin({ vuePluginOptions, translationIdentifiers ) + return { + code, + map: { version: 3, mappings: '', sources: [] } as any + } } } } - - return { - code, - map: { version: 3, mappings: '', sources: [] } as any - } } } }