The preview server and web.config now follow the same URLs as nginx, without the SPA fallback. Lighthouse exceptions need a recorded reason and the 404 page is audited through an opt-in route. The deploy checks the build first and the served result afterwards. The IIS rules stay unverified until a host exists. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
691 B
TypeScript
21 lines
691 B
TypeScript
// Types voor lighthouserc.cjs, zodat een test de URL-lijsten kan vergelijken
|
|
// met het pagina-register
|
|
type MobileExceptions = Record<string, { minScore: number; decision: string }>;
|
|
|
|
declare const config: {
|
|
performanceLevel: 'warn' | 'error';
|
|
indexedPaths: string[];
|
|
noindexPaths: string[];
|
|
notFoundPath: string;
|
|
photoPagePaths: string[];
|
|
mobileExceptions: MobileExceptions;
|
|
validateExceptions: (exceptions: MobileExceptions, paths: string[]) => void;
|
|
buildIndexedEntries: (
|
|
exceptions: MobileExceptions,
|
|
paths: string[],
|
|
) => { matchingUrlPattern: string; assertions: Record<string, unknown> }[];
|
|
ci: unknown;
|
|
};
|
|
|
|
export = config;
|