aws-samples / aws-samples/lambdaedge-openidconnect-samples
The code size is larger than 1mb, which is larger than the allowed size for viewer event in cloudFront
Open
- Dominant language
- JavaScript
- Stars
- 73
- Forks
- 22
- Avg merge
- 19h 45m
- Merged PRs (30d)
- 1
Description
Hi,
The code size is larger than 1mb. which is larger than he allowed size for viewer event in cloudFront.
I followed some of the steps outlined in [issue 47](https://github.com/aws-samples/lambdaedge-openidconnect-samples/issues/47) which reduced the size a little bit but not enough. As in, i deleted all the `*.d.ts, *.txt, licese` which got it to 1.1mb but still need to reduce the size even more.
The deployment works when we use SAM to deploy. But when i try to manually zip up the `build` directory, the size is larger than expected.
Any suggestion to get over this issue?
Regards,
Dheeraj
Contributor guide
Assessment
This issue has not been assessed yet.