Skip to content

Commit fba7bab

Browse files
committed
changeset and remove additional inject
1 parent 7abfa28 commit fba7bab

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

.changeset/five-parrots-eat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@opennextjs/aws": patch
3+
---
4+
5+
Fix output for edge-functions

packages/open-next/src/build/edge/createEdgeBundle.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@ export async function generateEdgeBundle(
220220
additionalExternals: options.config.edgeExternals,
221221
name,
222222
additionalPlugins,
223-
additionalInject: fnOptions.additionalInject,
224223
});
225224
}
226225

packages/open-next/src/types/open-next.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -361,15 +361,6 @@ export interface SplittedFunctionOptions extends FunctionOptions {
361361
* @default []
362362
*/
363363
patterns: string[];
364-
365-
366-
/**
367-
* Additional inject code for the function.
368-
* This is used to inject code into the function.
369-
* Used when code needs to be directly injected into the banner section during esbuild. Should be used with caution.
370-
* @default undefined
371-
*/
372-
additionalInject?: string;
373364
}
374365

375366
/**

0 commit comments

Comments
 (0)