-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: ensure outDir doesn't lead to bundlers bloating Lambda size #10550
fix: ensure outDir doesn't lead to bundlers bloating Lambda size #10550
Conversation
🦋 Changeset detectedLatest commit: a13f575 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
cc @Princesseuh for a review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Changes
Fixes withastro/adapters#185, which is a bug around Lambda bundles containing unneeded
dist
files on Netlify. This bug presumably also exists on Vercel, as they use the same tracer under the hood (@vercel/nft
).Testing
Added a test to ensure this isn't introduced again to the Vercel integration test suite. I picked that test suite, since we know they also have their own image integration, and that it likely has the same bug as the Netlify adapter.
Docs
It's a bug fix, I don't see a need to change docs.