Update with-preact example to use webpack 5 #26826
Labels
Comments
|
It should be noted building the application will still work. It seems to be only an issue when running the dev server. |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


What version of Next.js are you using?
11.0.1
What version of Node.js are you using?
14.16.1
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
Vercel
Describe the Bug
Next.js 11 with webpack 5 seems to break the using-preact example.
Error: Cannot find module 'webpack/lib/dependencies/ConstDependency'Expected Behavior
Should work with webpack 5. Everything is ok with
webpack5: false.To Reproduce
https://stackblitz.com/edit/nextjs-preact-webpack5?file=next.config.js
The text was updated successfully, but these errors were encountered: