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 9b34b54 commit 4a53965Copy full SHA for 4a53965
packages/unplugin-vue-i18n/src/core/directive.ts
@@ -83,11 +83,13 @@ export function directivePlugin({
83
if (vuePluginOptions == null) {
84
vuePluginOptions = getVuePluginOptions(vuePlugin!)
85
}
86
- analyzeIdentifiers(
87
- getDescriptor(filename, code, vuePluginOptions),
88
- vuePluginOptions,
89
- translationIdentifiers
90
- )
+ if (vuePluginOptions?.compiler) {
+ analyzeIdentifiers(
+ getDescriptor(filename, code, vuePluginOptions),
+ vuePluginOptions,
+ translationIdentifiers
91
+ )
92
+ }
93
94
95
0 commit comments