mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 12:57:47 +00:00
As discussed this adds opting out of the shared lambdas optimization when a user adds a functions config in `now.json` or `vercel.json` since this could potentially be a breaking change. We plan to add new handling to still allow customizing this config for the combined lambdas that are created
15 lines
632 B
Markdown
15 lines
632 B
Markdown
# `@vercel/next` Functions Config Optimized Lambdas Opt-out
|
|
|
|
#### Why This Warning Occurred
|
|
|
|
`@vercel/next` by default now bundles pages into optimized functions, minimizing bootup time and increasing overall application throughput.
|
|
When the `functions` config is added in `now.json` or `vercel.json`, it causes conflicts with this optimization, so it is opted-out.
|
|
|
|
#### Possible Ways to Fix It
|
|
|
|
Remove the `functions` config from your `now.json` or `vercel.json` to take advantage of this optimization.
|
|
|
|
### Useful Links
|
|
|
|
- [Functions Config Documentation](https://vercel.com/docs/configuration?query=functions#project/functions)
|