mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-07 21:07:46 +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
632 B
632 B
@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.