mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
@@ -10,10 +10,10 @@ import {
|
|||||||
} from 'fs-extra';
|
} from 'fs-extra';
|
||||||
import {
|
import {
|
||||||
BuildOptions,
|
BuildOptions,
|
||||||
|
Lambda,
|
||||||
download,
|
download,
|
||||||
getWriteableDirectory,
|
getWriteableDirectory,
|
||||||
glob,
|
glob,
|
||||||
createLambda,
|
|
||||||
debug,
|
debug,
|
||||||
walkParentDirs,
|
walkParentDirs,
|
||||||
} from '@vercel/build-utils';
|
} from '@vercel/build-utils';
|
||||||
@@ -215,7 +215,7 @@ export async function build({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const lambda = await createLambda({
|
const lambda = new Lambda({
|
||||||
files: outputFiles,
|
files: outputFiles,
|
||||||
handler: `${handlerRbFilename}.vc__handler`,
|
handler: `${handlerRbFilename}.vc__handler`,
|
||||||
runtime,
|
runtime,
|
||||||
|
|||||||
Reference in New Issue
Block a user