mirror of
https://github.com/readur/readur.git
synced 2026-02-09 00:19:37 -06:00
feat(client): have vite be quiet
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user