Closed madacol closed 4 years ago
As far as I know, this code is equivalent so it will not change the behaviour of the builder.
Honestly I don't know, I should have made an issue instead of a PR.
What I noticed is that the variable prodDependencies
is not providing any files to the to the createLambda
function
prodDependencies only apply when this option is set: https://github.com/thgh/vercel-sapper#no-build-usage I think usually dependencies are managed automatically by Vercel.
Function
npmBuild
was returning a Promise, so in the file index.js the variableprodDependencies
when destructuring it acted as an empty objectPossibly solves #42