We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f82e61 commit 617439fCopy full SHA for 617439f
packages/unplugin-vue-i18n/src/core/options.ts
@@ -2,7 +2,7 @@ import defu from 'defu'
2
import { normalize } from 'pathe'
3
import { toArray } from '../utils/misc'
4
5
-import type { PluginOptions } from '../types'
+import type { PluginOptions, SFCLangFormat } from '../types'
6
import type { TranslationDirectiveResolveIndetifier } from '../vue'
7
8
/**
@@ -40,7 +40,7 @@ export function resolveOptions(options: PluginOptions) {
40
allowDynamic: false,
41
globalSFCScope: false,
42
forceStringify: false,
43
- defaultSFCLang: 'json',
+ defaultSFCLang: 'json' as SFCLangFormat,
44
dropMessageCompiler: false,
45
transformI18nBlock: undefined,
46
optimizeTranslationDirective: false
0 commit comments