From 8118ef061273bdad9bfcf69a331bf08c6df4db21 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Sat, 11 Jul 2026 15:24:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8(frontend)=20format=20vite=20config?= =?UTF-8?q?=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apply the project's formatter to the Vite config file to align its style with the rest of the codebase. --- src/frontend/vite.config.ts | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/frontend/vite.config.ts b/src/frontend/vite.config.ts index f58ef7bd..44fda9ea 100644 --- a/src/frontend/vite.config.ts +++ b/src/frontend/vite.config.ts @@ -11,18 +11,23 @@ export default defineConfig(({ mode }) => { react(), svgr({ svgrOptions: { - replaceAttrValues: { '#000': 'currentColor', '#000000': 'currentColor', '#1f1f1f': 'currentColor' }, + replaceAttrValues: { + '#000': 'currentColor', + '#000000': 'currentColor', + '#1f1f1f': 'currentColor', + }, }, }), - env.VITE_ANALYZE === 'true' && visualizer({ - open: true, - filename: 'rollup-plugin-visualizer/stats.html', - gzipSize: true, - brotliSize: true, - }), + env.VITE_ANALYZE === 'true' && + visualizer({ + open: true, + filename: 'rollup-plugin-visualizer/stats.html', + gzipSize: true, + brotliSize: true, + }), ], resolve: { - tsconfigPaths: true + tsconfigPaths: true, }, build: { sourcemap: env.VITE_BUILD_SOURCEMAP === 'true',