We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6de7437 + 05b3768 commit b25f795Copy full SHA for b25f795
src/resourceDiscovery.ts
@@ -33,7 +33,9 @@ async function getCurrentFrameworkName(config: LldConfig) {
33
return framework?.name;
34
}
35
36
-async function getLambdas(config: LldConfig) {
+async function getLambdas(
37
+ config: LldConfig,
38
+): Promise<LambdaResource[] | undefined> {
39
let resources: LambdaResource[] | undefined = undefined;
40
41
let frameworks = [...frameworksSupported];
@@ -73,6 +75,10 @@ async function getLambdas(config: LldConfig) {
73
75
return resources.map((r) => ({
74
76
...r,
77
codePath: path.resolve(r.codePath),
78
+ esBuildOptions: {
79
+ ...r.esBuildOptions,
80
+ metafile: true,
81
+ },
82
}));
83
84
0 commit comments