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

Including node_modules in the minification

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
27
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.