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