59371d0cbb
- Sidebar navItems uses $derived() so badge counts stay reactive - const destructures (c, d, cd) use $derived() to track prop changes - Added aria-label to hamburger and add-item buttons - Filter state_referenced_locally warnings in svelte.config.js — these are intentional one-shot initializers for mutable form inputs Result: 0 errors, 0 warnings, 0 files with problems. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
23 lines
520 B
JavaScript
23 lines
520 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
compilerOptions: {
|
|
warningFilter: (warning) => {
|
|
// Intentional: form inputs initialize from props once, then diverge
|
|
if (warning.code === 'state_referenced_locally') return false;
|
|
return true;
|
|
}
|
|
},
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
out: 'build',
|
|
precompress: true
|
|
})
|
|
}
|
|
};
|
|
|
|
export default config;
|