@tanstack/router-plugin
Version:
Modern and scalable routing for React applications
10 lines (9 loc) • 445 B
TypeScript
export declare const debug: boolean | "" | undefined;
/**
* Normalizes a file path by converting Windows backslashes to forward slashes.
* This ensures consistent path handling across different bundlers and operating systems.
*
* The route generator stores paths with forward slashes, but rspack/webpack on Windows
* pass native paths with backslashes to transform handlers.
*/
export declare function normalizePath(path: string): string;