aws-samples / aws-samples/lambda-nodejs-esbuild

Including node_modules in the minification

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
27
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

Hello. Thanks for sharing this sample project.
I came from this [article](https://aws.amazon.com/blogs/compute/optimizing-node-js-dependencies-in-aws-lambda/) and need to use my code for a Lambda@Edge (`viewer-request`), limited to 1MB size.
When I try to run the build command, I got these issue:

```
✘ [ERROR] Could not resolve "./src//node_modules"

✘ [ERROR] No loader is configured for ".lock" files: src//yarn.lock
```

If you can help out, I would really appreciate it!

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。