Skip to content

Commit d9f70de

Browse files
authored
Merge pull request #194 from itwasmattgregg/master
Add extra error messaging
2 parents b0407d7 + 0da2432 commit d9f70de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/build.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ function webpackConfig(dir, { userWebpackConfig, useBabelrc } = {}) {
5959
should be different. They are both set to ${dirPath}.
6060
6161
This is a common mistake for people switching from Netlify Dev to netlify-lambda. For an easy fix, change your functions key inside netlify.toml to something else, like "functions-build".
62+
You will then need to build your functions to that directory before they will work locally and the built functions will also need to be pushed to your repo.
6263
For more info, check https://github.com/netlify/netlify-lambda#usage
6364
`
6465
);

0 commit comments

Comments
 (0)