UNPKG

@tanstack/react-start

Version:

Modern and scalable routing for React applications

14 lines (13 loc) • 572 B
import { fileURLToPath } from "node:url"; import path from "pathe"; // src/plugin/shared.ts var currentDir = path.dirname(fileURLToPath(import.meta.url)); var reactStartPluginDir = currentDir; var defaultEntryDir = path.resolve(currentDir, "..", "..", "plugin", "default-entry"); var reactStartDefaultEntryPaths = { client: path.resolve(defaultEntryDir, "client.tsx"), server: path.resolve(defaultEntryDir, "server.ts"), start: path.resolve(defaultEntryDir, "start.ts") }; export { reactStartDefaultEntryPaths, reactStartPluginDir }; //# sourceMappingURL=shared.js.map