Files
vercel/errors/next-functions-config-optimized-lambdas.md
JJ Kasper 96565da1cf [next] Add shared lambdas opt-out for functions config (#4596)
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
2020-06-08 19:40:48 +00:00

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.