From add5ef15859a9caafbbb46210b1f89610f2eb097 Mon Sep 17 00:00:00 2001 From: FoxxMD Date: Wed, 16 Sep 2026 18:50:20 +0000 Subject: [PATCH] chore: remove sourcemaps from production frontend builds --- vite.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 4dc3c74c..8f9aa724 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,15 +29,15 @@ export default defineConfig(() => { svgr() ], build: { - sourcemap: true, + sourcemap: false, cssCodeSplit: true, rolldownOptions: { input: { main: resolve(import.meta.dirname, 'index.html'), // next: resolve(import.meta.dirname, 'next/index.html'), }, - keepNames: true, - sourcemap: true + //keepNames: true, + sourcemap: false }, }, css: { -- 2.51.2