Hi,
When i generate a ZIP using node-lambda package, then this ZIP contains everything that is currently in my project directory, including .env, deploy.env, event.json ... It also contains files excluded in .env EXCLUDE_GLOBS.
When i deploy to AWS using node-lambda deploy and then download the ZIP file that was uploaded to AWS this file is not the same that was generated with node-lambda package (it no longer contains unnecessary files mentioned above). I would expect the ZIP file created with node-lambda package to be the same as the one uploaded with the deploy command.
Do i misunderstand the package command or is this a bug?
Thanks, Marc
Hi,
When i generate a ZIP using
node-lambda package, then this ZIP contains everything that is currently in my project directory, including .env, deploy.env, event.json ... It also contains files excluded in.envEXCLUDE_GLOBS.When i deploy to AWS using
node-lambda deployand then download the ZIP file that was uploaded to AWS this file is not the same that was generated with node-lambda package (it no longer contains unnecessary files mentioned above). I would expect the ZIP file created withnode-lambda packageto be the same as the one uploaded with the deploy command.Do i misunderstand the package command or is this a bug?
Thanks, Marc