Open History to see the last commit
1import { fileURLToPath } from 'node:url'
2import path from 'pathe'
3β
4const currentDir = path.dirname(fileURLToPath(import.meta.url))
5const defaultEntryDir = path.resolve(
6 currentDir,
7 '..',
8 '..',
9 'plugin',
10 'default-entry',
11)
12β
13export const solidStartDefaultEntryPaths = {
14 client: path.resolve(defaultEntryDir, 'client.tsx'),
15 server: path.resolve(defaultEntryDir, 'server.ts'),
16 start: path.resolve(defaultEntryDir, 'start.ts'),
17}