UNPKG

@tanstack/solid-start

Version:

Modern and scalable routing for Solid applications

18 lines (15 loc) 441 B
import { fileURLToPath } from 'node:url' import path from 'pathe' const currentDir = path.dirname(fileURLToPath(import.meta.url)) const defaultEntryDir = path.resolve( currentDir, '..', '..', 'plugin', 'default-entry', ) export const solidStartDefaultEntryPaths = { client: path.resolve(defaultEntryDir, 'client.tsx'), server: path.resolve(defaultEntryDir, 'server.ts'), start: path.resolve(defaultEntryDir, 'start.ts'), }