feat: update primary color variables for light theme and enhance asset file naming in Vite config

This commit is contained in:
sha
2025-06-20 17:04:47 +03:00
parent 552219d247
commit 946adf5ed6
2 changed files with 13 additions and 2 deletions
+11
View File
@@ -10,6 +10,17 @@ export default defineConfig({
assetsDir: 'assets',
sourcemap: false,
minify: 'terser',
rollupOptions: {
output: {
assetFileNames: (assetInfo) => {
// Keep SVG files and other images in the root for easier path resolution
if (assetInfo.name?.endsWith('.svg') || assetInfo.name?.endsWith('.jpg') || assetInfo.name?.endsWith('.png')) {
return '[name][extname]'
}
return 'assets/[name]-[hash][extname]'
}
}
}
},
server: {
host: true,