Closed rslifka closed 7 years ago
With the following configuration:
lambda_package: { default: { options: { include_files: ['src/*.js'], } } }
...grunt-aws-lambda creates a ZIP file with src at the root, meaning Lambda can't find the files. It looks like someone had a similar issue with archiver - https://github.com/archiverjs/node-archiver/issues/142.
grunt-aws-lambda
src
Is there another way I should be specifying or storing my source files? Thanks!!
Placing index.js in the root of the project, which is convention, makes this work. That's totally fine, would be helpful to have in the docs. Thanks!
With the following configuration:
...
grunt-aws-lambda
creates a ZIP file withsrc
at the root, meaning Lambda can't find the files. It looks like someone had a similar issue with archiver - https://github.com/archiverjs/node-archiver/issues/142.Is there another way I should be specifying or storing my source files? Thanks!!