feat(client): have vite be quiet

This commit is contained in:
perf3ct 2025-06-17 19:17:41 +00:00
parent 767b2d6429
commit 7b2a52b3c5
No known key found for this signature in database
GPG Key ID: 569C4EEC436F5232
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)
}
}
},
})