perf: enforce journey budgets and reference traces
This commit is contained in:
5
scripts/lib/bundle-budgets.d.mts
Normal file
5
scripts/lib/bundle-budgets.d.mts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const PERFORMANCE_BUDGETS: Readonly<Record<string, number>>;
|
||||
export function classifyArtifact(path: string, source?: string): string;
|
||||
export function evaluateBudgetTotals(totals: Readonly<Record<string, number>>): {
|
||||
violations: Array<{ budget: string; actual: number; threshold: number }>;
|
||||
};
|
||||
Reference in New Issue
Block a user