File tree 2 files changed +5
-1
lines changed
2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export const createServerHandler = async (ctx: PluginContext) => {
145
145
await copyNextServerCode ( ctx )
146
146
await copyNextDependencies ( ctx )
147
147
await copyHandlerDependencies ( ctx )
148
- if ( ! ctx . useFrameworksAPI ) {
148
+ if ( ctx . serverHandlerConfigStrategy === 'manifest' ) {
149
149
await writeHandlerManifest ( ctx )
150
150
}
151
151
await writeHandlerFile ( ctx )
Original file line number Diff line number Diff line change @@ -244,6 +244,10 @@ export class PluginContext {
244
244
return './.netlify/dist/run/handlers/server.js'
245
245
}
246
246
247
+ get serverHandlerConfigStrategy ( ) : 'manifest' | 'inline' {
248
+ return this . useFrameworksAPI ? 'inline' : 'manifest'
249
+ }
250
+
247
251
/**
248
252
* Absolute path of the directory containing the files for deno edge functions
249
253
* frameworks api: `.netlify/v1/edge-functions`
You can’t perform that action at this time.
0 commit comments