@@ -113,7 +113,7 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
113113 manifest : true ,
114114 copyPublicDir : false ,
115115 rollupOptions : {
116- input : `~/${ START_HANDLERS . server } ` ,
116+ input : `~/entry-server ${ entryExtension } ` ,
117117 } ,
118118 outDir : "dist/server" ,
119119 commonjsOptions : {
@@ -188,7 +188,7 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
188188 envName : VITE_ENVIRONMENTS . client ,
189189 getRuntimeCode : ( ) =>
190190 `import { createServerReference } from "${ normalizePath (
191- fileURLToPath ( new URL ( "../server/server-runtime" , import . meta. url ) )
191+ fileURLToPath ( new URL ( "../server/server-runtime" , import . meta. url ) ) ,
192192 ) } "`,
193193 replacer : opts => `createServerReference('${ opts . functionId } ')` ,
194194 } ,
@@ -197,7 +197,7 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
197197 envName : VITE_ENVIRONMENTS . server ,
198198 getRuntimeCode : ( ) =>
199199 `import { createServerReference } from '${ normalizePath (
200- fileURLToPath ( new URL ( "../server/server-fns-runtime" , import . meta. url ) )
200+ fileURLToPath ( new URL ( "../server/server-fns-runtime" , import . meta. url ) ) ,
201201 ) } '`,
202202 replacer : opts => `createServerReference(${ opts . fn } , '${ opts . functionId } ')` ,
203203 } ,
@@ -206,7 +206,7 @@ export function solidStart(options?: SolidStartOptions): Array<PluginOption> {
206206 envName : VITE_ENVIRONMENTS . server ,
207207 getRuntimeCode : ( ) =>
208208 `import { createServerReference } from '${ normalizePath (
209- fileURLToPath ( new URL ( "../server/server-fns-runtime" , import . meta. url ) )
209+ fileURLToPath ( new URL ( "../server/server-fns-runtime" , import . meta. url ) ) ,
210210 ) } '`,
211211 replacer : opts => `createServerReference(${ opts . fn } , '${ opts . functionId } ')` ,
212212 } ,
0 commit comments