Hi, I’m working for lyvetool.netlify.app, and netlify is not detecting any of my lambda functions, even thought netlify dev
does.
I’m working with vue-cli, this is the relevant part of my package.json
file
"scripts": {
"netlify-dev": "netlify dev",
"serve": "npm run bootstrap-db && vue-cli-service serve",
"prebuild:fauna": "echo 'Check FaunaDB schemas' && npm run bootstrap-db",
"prebuild:netlify-lambda": "netlify-lambda build src/functions",
"build": "vue-cli-service build",
"bootstrap-db": "node ./scripts/bootstrap.js"
},
and my netlify.toml file
[build]
publish = "dist/"
command = "npm run build"
functions = "src/built-functions"
So, when I work in netlify dev my typescript functions located in src/functions
get build to src/built-functions
and everything works as expected. But when I deploy, no function is found.
Any help?
Thanks.