File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/zip-it-and-ship-it/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const defaultFlags = {
3131 zisi_add_instrumentation_loader : true ,
3232
3333 // Dynamically import the function handler.
34- zisi_dynamic_import_function_handler : false ,
34+ zisi_dynamic_import_function_handler_entry_point : false ,
3535} as const
3636
3737export type FeatureFlags = Partial < Record < keyof typeof defaultFlags , boolean > >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ const getEntryFileContents = (
5151 const importPath = `.${ mainPath . startsWith ( '/' ) ? mainPath : `/${ mainPath } ` } `
5252
5353 if ( runtimeAPIVersion === 2 ) {
54- if ( featureFlags . zisi_dynamic_import_function_handler ) {
54+ if ( featureFlags . zisi_dynamic_import_function_handler_entry_point ) {
5555 return [
5656 `import * as bootstrap from './${ BOOTSTRAP_FILE_NAME } '` ,
5757 `export const handler = bootstrap.getLambdaHandler('${ importPath } ')` ,
You can’t perform that action at this time.
0 commit comments