DEV Community

Discussion on: webpack 5 & next.js 10 - how to add resolve fallback to config

Collapse
 
daveybrown profile image
daveybrown

If you do this then you don't overwrite the existing fallback

config.resolve.fallback = {
  ...config.resolve.fallback,
  fs: false
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
evoratec profile image
Juan Antonio Navarro

Thanks a lot.

Collapse
 
daveybrown profile image
daveybrown • Edited

No worries :)