Skip to content

Commit

Permalink
Include node_modules/.deno
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Feb 25, 2023
1 parent 6c07828 commit b0fee22
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/deno-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,15 @@ export class DenoLambda extends Lambda {
cwd,
join(cwd, entrypoint)
),
glob("node_modules/.deno/**", {
cwd,
includeDirectories: true,
}).then(files => {
Object.assign(outputFiles, files);
})
]);


// Add additional files that were referenced from
// Deno CLI flags in the shebang
const additionalFiles = new Set<string>();
Expand Down

0 comments on commit b0fee22

Please sign in to comment.