Skip to content

Commit

Permalink
fix(gatsby-adapter-netlify): ensure we set includedFilesBasePath so m…
Browse files Browse the repository at this point in the history
…onorepo cases will bundle all required files correctly
  • Loading branch information
pieh committed Jun 4, 2024
1 parent aa13fbb commit a3aa898
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby-adapter-netlify/src/lambda-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export async function prepareFunction(
includedFiles: fun.requiredFiles.map(file =>
slash(file).replace(/\[/g, `*`).replace(/]/g, `*`)
),
includedFilesBasePath: process.cwd(),
externalNodeModules: [`msgpackr-extract`],
},
version: 1,
Expand Down

0 comments on commit a3aa898

Please sign in to comment.