chore(frontend-public): 🔧 Update Vite build configuration to optimize asset handling, plugins, and dev server settings for messaging module

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Lilith 2026-02-26 18:35:49 -08:00
parent 9d70da4a53
commit 6ecbec5573

View file

@ -65,10 +65,6 @@ export default defineConfig({
// Limit to 1 concurrent worker — deps.inline Vite processing of the
// content-flagging package consumes significant heap per worker.
maxWorkers: 1,
// Increase heap for forks that inline the content-flagging package.
// The barrel re-exports UI components pulling in styled-components +
// React transitive deps, which bloats the Vite transform cache.
execArgv: ['--max-old-space-size=8192'],
},
build: {
outDir: 'dist',