mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-23 12:51:40 +02:00
Update packages, ignore sveltestrap related warnings on compile
This commit is contained in:
@@ -12,7 +12,9 @@ const plugins = [
|
||||
svelte({
|
||||
compilerOptions: {
|
||||
// enable run-time checks when not in production
|
||||
dev: !production
|
||||
dev: !production,
|
||||
// As of sveltestrap 7.1.0, filtered warnings would appear for imported sveltestrap components
|
||||
warningFilter: (warning) => (warning.code !== 'element_invalid_self_closing_tag' && warning.code !== 'a11y_interactive_supports_focus')
|
||||
}
|
||||
}),
|
||||
|
||||
|
Reference in New Issue
Block a user