Wires the script step and preview server into the build

The build now moves inline scripts and fails on a violation. Lighthouse audits
/404.html, because it refuses a page with a real 404 status.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-31 18:25:41 +01:00
co-authored by Claude Opus 5.5
parent 0b964b5466
commit fe1ec5db3d
8 changed files with 36 additions and 14 deletions
+6
View File
@@ -31,6 +31,12 @@ export default tseslint.config(
globals: globals.browser,
},
},
{
files: ['config/**/*.ts', 'e2e/**/*.ts', 'vitest.e2e.config.ts'],
languageOptions: {
globals: globals.node,
},
},
{
files: ['*.{js,cjs}'],
extends: [js.configs.recommended],