Skip to content

Commit 0fd9b90

Browse files
committed
feat: remove config.entrypoint as the property is never used
1 parent c1ee7b9 commit 0fd9b90

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/define_config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,13 @@ export function defineConfig(config: InertiaConfigInput): InertiaConfig {
4141
return lodash.merge(
4242
{
4343
rootView: 'inertia_layout',
44-
entrypoint: 'inertia/app/app.ts',
4544
history: {
4645
encrypt: false,
4746
},
4847
ssr: {
4948
enabled: false,
5049
bundle: 'ssr/ssr.js',
51-
entrypoint: 'inertia/app/ssr.ts',
50+
entrypoint: 'inertia/ssr.tsx',
5251
},
5352
},
5453
config

src/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,11 +332,6 @@ export type InertiaConfig = {
332332
*/
333333
rootView: string | ((ctx: HttpContext) => string)
334334

335-
/**
336-
* The entrypoint file to load in order to boot the frontend application.
337-
*/
338-
entrypoint: string
339-
340335
/**
341336
* A fixed asset version value to use. Otherwise, it will be read from the
342337
* Vite manifest file.

0 commit comments

Comments
 (0)