@wroud/vite-plugin-ssg
Version:
A Vite plugin for static site generation (SSG) with React. Renders React applications to static HTML for faster load times and improved SEO.
9 lines • 436 B
TypeScript
/**
* Splits a file path into the file part and any postfix query parameters.
* This mimics Vite's behavior for handling asset URLs with query parameters.
*
* @param file - The file path potentially with query parameters
* @returns A tuple of [file, postfix] where postfix includes the '?' if present
*/
export declare function splitFileAndPostfix(file: string): [string, string];
//# sourceMappingURL=splitFileAndPostfix.d.ts.map