🎨(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
+13 -8
View File
@@ -11,18 +11,23 @@ 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' &&
open: true, visualizer({
filename: 'rollup-plugin-visualizer/stats.html', open: true,
gzipSize: true, filename: 'rollup-plugin-visualizer/stats.html',
brotliSize: true, gzipSize: true,
}), brotliSize: true,
}),
], ],
resolve: { resolve: {
tsconfigPaths: true tsconfigPaths: true,
}, },
build: { build: {
sourcemap: env.VITE_BUILD_SOURCEMAP === 'true', sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',