Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Update to prevent #55 from occurring again #59

Merged
merged 2 commits into from
Oct 19, 2020

Conversation

garrypolley
Copy link
Contributor

This change in the readme is to help future developers not have binary issues across lambda functions created by the next build command.

This change in the readme is to help future developers not have binary issues across lambda functions created by the next build command.
@lindsaylevine
Copy link
Contributor

Fixes #55

@spencewood
Copy link
Contributor

I would be very wary of setting this as the default option without reviewing this more. I realize that it fixes #55, but it means that all dependent node_modules for each page are included in the bundle, slowing down the build and increasing the function zips bundled for lambda significantly. In my case this simple change increased each of my page zip sizes 7x.

@garrypolley
Copy link
Contributor Author

I would be very wary of setting this as the default option without reviewing this more.

@spencewood that's a good point. I updated this to mention it's only needed to copy over binaries.

@lindsaylevine
Copy link
Contributor

thanks for opening this @garrypolley! we hear @spencewood's point and will keep it in mind :).

@lindsaylevine lindsaylevine merged commit 6b3b0a0 into netlify:main Oct 19, 2020
lindsaylevine added a commit that referenced this pull request Oct 23, 2020
- README rebrand
- Fix: update logs to correct path constants in prepareFolders ([#58](#58))
- Fix: show experimental-serverless-trace target option in README ([#59](#59))
- Fix: x-forwarded-host is undefined on Netlify ([#54](#54))
- Fix: No-op redirect for root catch-all page chunks ([#52](#52))
- prettier pre-commit hook
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants