vincedgy/aws-sam-webpack-typescript

working with Lambda layers

Hasan-git opened this issue · 0 comments

Actually, I am ignoring node_modules in webpack using
externals: fs.readdirSync("node_modules"),
and I want to use lambda layers instead, but whenever I run sam local start-api , sam complains about dep folder not found under build dir.
how could I handle lambda layers ?

image