Build locales into separate folder

This commit is contained in:
Lim Chee Aun 2024-08-14 17:17:34 +08:00
parent f359d36e9b
commit b1a8f1aa8f

View file

@ -136,6 +136,9 @@ export default defineConfig({
if (facadeModuleId && facadeModuleId.includes('icon')) {
return 'assets/icons/[name]-[hash].js';
}
if (facadeModuleId && facadeModuleId.includes('locales')) {
return 'assets/locales/[name]-[hash].js';
}
return 'assets/[name]-[hash].js';
},
},