Files
klz-cables.com/.pnpm-store/v10/files/48/b6eee191e186d7c7ffec5e452bc9eea52101c191fae625a4c5608541a69eb7af046063fd6034efa0c453c31b96e275d1ebab2406db98a8ac0d247b7ffe1b41
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

14 lines
641 B
Plaintext

/**
* Strip the basename from a pathname if exists.
*
* Vendored and modified from `react-router`
* https://github.com/remix-run/react-router/blob/462bb712156a3f739d6139a0f14810b76b002df6/packages/router/utils.ts#L1038
*/
export declare function stripBasenameFromPathname(pathname: string, basename: string): string;
/**
* Matches a pathname against a route manifest and returns the matching pattern.
* Optionally strips a basename prefix before matching.
*/
export declare function matchRouteManifest(pathname: string, manifest: string[], basename?: string): string | null;
//# sourceMappingURL=route-manifest.d.ts.map