Skip to content

Commit b314435

Browse files
authored
add importmap for vue-i18n (#3595)
1 parent ba367c0 commit b314435

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ export default defineConfig({
6464
comfyAPIPlugin(IS_DEV),
6565
generateImportMapPlugin([
6666
{ name: 'vue', pattern: /[\\/]node_modules[\\/]vue[\\/]/ },
67-
{ name: 'primevue', pattern: /[\\/]node_modules[\\/]primevue[\\/]/ }
67+
{ name: 'primevue', pattern: /[\\/]node_modules[\\/]primevue[\\/]/ },
68+
{ name: 'vue-i18n', pattern: /[\\/]node_modules[\\/]vue-i18n[\\/]/ }
6869
]),
6970
addElementVnodeExportPlugin(),
7071

0 commit comments

Comments
 (0)