mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
74a19b7467
## Summary Remove redundant `#` from [error pages](https://github.com/vercel/next.js/tree/canary/errors). ## Description Follow up #52038 and #72263. Updated [template.txt](https://github.com/vercel/next.js/blob/canary/errors/template.txt) and clarified the header deps. Then rewrite as per the template. ### Improving Documentation - [x] Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - [x] Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
18 lines
521 B
Plaintext
18 lines
521 B
Plaintext
---
|
|
title: Webpack Build Worker automatic opt-out
|
|
---
|
|
|
|
## Why This Error Occurred
|
|
|
|
The Next.js config contains custom webpack configuration, as a result, the webpack build worker optimization was disabled.
|
|
|
|
The webpack build worker optimization helps alleviate memory stress during builds and reduce out-of-memory errors although some custom configurations may not be compatible.
|
|
|
|
## Possible Ways to Fix It
|
|
|
|
Upgrade Next.js to latest (>= 14.1.0) to remove this warning.
|
|
|
|
```bash filename"Terminal"
|
|
npm i next@latest
|
|
```
|