-
Notifications
You must be signed in to change notification settings - Fork 27.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'canary' into delbaoliveira-patch-1
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
title: Webpack Build Worker automatic opt-out | ||
--- | ||
|
||
## Webpack Build Worker 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. | ||
|
||
``` | ||
npm i next@latest | ||
``` |