-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack 5 mode does not work yet with custom configurations #23130
Comments
Bumping this one since it impacts our Preact support. Thanks @JoviDeCroock for raising this as well. |
Also, distDir won't work properly, .next folder is created anyway |
FYI; this did not fix the main issue. |
The error has now evolved to:
Still using the same (very simple) test repo: https://github.com/PepijnSenders/nextjs-aliases-issue |
* fix check in externals that validate if the require is resolve-able for the server * performance improvements Fixes #23130 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
Awesome, it works! |
* fix check in externals that validate if the require is resolve-able for the server * performance improvements Fixes vercel#23130 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
canary
What version of Node.js are you using?
15
What browser are you using?
Chrome
What operating system are you using?
macOS
How are you deploying your application?
none
Describe the Bug
Webpack's aliases configuration does not yet work with
future.webpack5 = true
.Expected Behavior
Aliases and other configurations to properly work with webpack5.
To Reproduce
I made a simple test repo that showcases the issue: https://github.com/PepijnSenders/nextjs-aliases-issue.
Just run
yarn && yarn next
and load localhost:3000 to view the error.The text was updated successfully, but these errors were encountered: