feat(client): have vite be quiet

This commit is contained in:
perf3ct 2025-06-17 19:17:41 +00:00
parent d4da15c212
commit cf6ca2daed
1 changed files with 9 additions and 0 deletions

View File

@ -19,5 +19,14 @@ export default defineConfig({
build: {
outDir: 'dist',
assetsDir: 'assets',
rollupOptions: {
onwarn(warning, warn) {
// Suppress "use client" directive warnings from MUI
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
return
}
warn(warning)
}
}
},
})