From 72ab9f6001ab18361ea65bfbe93f62fe64078fb7 Mon Sep 17 00:00:00 2001 From: Lilith Date: Fri, 6 Feb 2026 02:35:44 -0800 Subject: [PATCH] =?UTF-8?q?chore(frontend):=20=F0=9F=94=A7=20Update=20Vite?= =?UTF-8?q?=20build=20configs=20across=20email,=20marketplace,=20profile,?= =?UTF-8?q?=20and=20SEO=20modules=20for=20consistency/optimization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- features/email/frontend-users/vite.config.ts | 4 ++++ features/marketplace/frontend-public/vite.config.ts | 4 ++++ features/profile/frontend-app/vite.config.ts | 1 + features/seo/frontend-admin/vite.config.ts | 1 + 4 files changed, 10 insertions(+) diff --git a/features/email/frontend-users/vite.config.ts b/features/email/frontend-users/vite.config.ts index 12f07fa7d..2452bf23f 100755 --- a/features/email/frontend-users/vite.config.ts +++ b/features/email/frontend-users/vite.config.ts @@ -29,4 +29,8 @@ export default defineConfig({ '@': path.resolve(__dirname, './src'), }, }, + build: { + emptyOutDir: false, // Don't wipe library exports created by tsup + sourcemap: true, + }, }) diff --git a/features/marketplace/frontend-public/vite.config.ts b/features/marketplace/frontend-public/vite.config.ts index 79deab983..ba2495955 100755 --- a/features/marketplace/frontend-public/vite.config.ts +++ b/features/marketplace/frontend-public/vite.config.ts @@ -88,4 +88,8 @@ export default defineConfig({ }, }, }, + build: { + emptyOutDir: false, // Don't wipe library exports created by tsup + sourcemap: true, + }, }); diff --git a/features/profile/frontend-app/vite.config.ts b/features/profile/frontend-app/vite.config.ts index 8ac1757ea..64891177d 100755 --- a/features/profile/frontend-app/vite.config.ts +++ b/features/profile/frontend-app/vite.config.ts @@ -29,6 +29,7 @@ export default defineConfig({ }, build: { outDir: 'dist', + emptyOutDir: false, // Don't wipe library exports created by tsup sourcemap: true, }, }); diff --git a/features/seo/frontend-admin/vite.config.ts b/features/seo/frontend-admin/vite.config.ts index cc1625af1..82f1f1121 100755 --- a/features/seo/frontend-admin/vite.config.ts +++ b/features/seo/frontend-admin/vite.config.ts @@ -25,6 +25,7 @@ export default defineConfig({ }, build: { outDir: 'dist', + emptyOutDir: false, // Don't wipe library exports created by tsup sourcemap: true, }, });