Skip to content

Commit aefac31

Browse files
authored
Update README.md
1 parent 352dedf commit aefac31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,12 +316,12 @@ Vercel link: https://open-next.vercel.app
316316

317317
## Advanced usage
318318

319-
#### OPEN_NEXT_MINIMIZE
319+
#### OPEN_NEXT_MINIFY
320320

321321
Enabling this option will minimize all `.js` and `.json` files in the server function bundle using the [node-minify](https://github.com/srod/node-minify) library. This can reduce the size of the server function bundle by about 40%, depending on the size of your app. To enable it, simply run:
322322

323323
```bash
324-
OPEN_NEXT_MINIMIZE=true open-next build
324+
OPEN_NEXT_MINIFY=true open-next build
325325
```
326326

327327
Enabling this option can significantly help to reduce the cold start time of the server function. However, it's an **experimental feature**, and you need to opt-in to use it. Once this option is thoroughly tested and found to be stable, it will be enabled by default.

0 commit comments

Comments
 (0)