🎨(frontend) format vite config file

Apply the project's formatter to the Vite config file to align its
style with the rest of the codebase.
This commit is contained in:
lebaudantoine
2026-07-11 15:24:24 +02:00
committed by aleb_the_flash
parent 85f886d9c5
commit 8118ef0612
+8 -3
View File
@@ -11,10 +11,15 @@ export default defineConfig(({ mode }) => {
react(), react(),
svgr({ svgr({
svgrOptions: { svgrOptions: {
replaceAttrValues: { '#000': 'currentColor', '#000000': 'currentColor', '#1f1f1f': 'currentColor' }, replaceAttrValues: {
'#000': 'currentColor',
'#000000': 'currentColor',
'#1f1f1f': 'currentColor',
},
}, },
}), }),
env.VITE_ANALYZE === 'true' && visualizer({ env.VITE_ANALYZE === 'true' &&
visualizer({
open: true, open: true,
filename: 'rollup-plugin-visualizer/stats.html', filename: 'rollup-plugin-visualizer/stats.html',
gzipSize: true, gzipSize: true,
@@ -22,7 +27,7 @@ export default defineConfig(({ mode }) => {
}), }),
], ],
resolve: { resolve: {
tsconfigPaths: true tsconfigPaths: true,
}, },
build: { build: {
sourcemap: env.VITE_BUILD_SOURCEMAP === 'true', sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',