Skip to content

Commit 0f4b522

Browse files
committed
chore: update comment
1 parent 0a44c6d commit 0f4b522

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/runtime/src/helpers/flags.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
/**
2-
* If this flag is enabled, we generate one function per API Route.
3-
* We'll also use the "none" bundling strategy where we fully rely on Next.js' `.nft.json` files.
4-
* This should lead to smaller bundle sizes at the same speed, but is still experimental.
2+
* If this flag is enabled, we generate individual Lambda functions for API Routes.
3+
* They're packed together in 50mb chunks to avoid hitting the Lambda size limit.
4+
*
5+
* To prevent bundling times from rising,
6+
* we use the "none" bundling strategy where we fully rely on Next.js' `.nft.json` files.
7+
* This should to a significant speedup, but is still experimental.
58
*
69
* If disabled, we bundle all API Routes into a single function.
7-
* This is fast, but can lead to large bundle sizes.
10+
* This is can lead to large bundle sizes.
811
*
912
* Enabled by default. Can be disabled by passing NEXT_SPLIT_API_ROUTES=false.
1013
*/

0 commit comments

Comments
 (0)