@vercel/express 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +8 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -809,9 +809,15 @@ var build2 = async (args) => {
|
|
|
809
809
|
args.entrypoint = await entrypointCallback2(args);
|
|
810
810
|
const rolldownResult = await rolldown(args);
|
|
811
811
|
const { routes } = await introspectApp(args, rolldownResult);
|
|
812
|
-
const lambda = new import_build_utils6.
|
|
812
|
+
const lambda = new import_build_utils6.NodejsLambda({
|
|
813
813
|
runtime: downloadResult.nodeVersion.runtime,
|
|
814
|
-
...rolldownResult
|
|
814
|
+
...rolldownResult,
|
|
815
|
+
shouldAddHelpers: false,
|
|
816
|
+
shouldAddSourcemapSupport: true,
|
|
817
|
+
framework: {
|
|
818
|
+
slug: "express"
|
|
819
|
+
},
|
|
820
|
+
awsLambdaHandler: ""
|
|
815
821
|
});
|
|
816
822
|
const output = { index: lambda };
|
|
817
823
|
for (const route of routes) {
|