feat(client): have vite be quiet

This commit is contained in:
perf3ct
2025-06-17 19:17:41 +00:00
parent 767b2d6429
commit 7b2a52b3c5

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)
}
}
},
})