Skip to content
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

Add initial configuration changes for webpack 5 #11917

Merged
merged 10 commits into from
Apr 15, 2020

Conversation

timneutkens
Copy link
Member

I've pulled out a bunch of the changes from https://github.com/zeit/next.js/pull/10885/files in order to land them early.
This helps with avoiding merge conflicts further down the road. Also managed to optimize a few bits like the IgnorePlugin.

Thanks to @ScriptedAlchemy, I've done all the commits marking you as co-authored-by 👍

timneutkens and others added 8 commits April 15, 2020 17:04
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
Co-Authored-By: Zack Jackson <zackary.l.jackson@gmail.com>
@Timer Timer merged commit 29c697b into vercel:canary Apr 15, 2020
if (isWebpack5 && !isServer) {
webpackConfig.output!.library = webpackConfig.output?.library
? webpackConfig.output.library
: 'INTERNAL_NEXT_APP'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better name

@timneutkens timneutkens deleted the add/webpack-5-support-wip branch April 16, 2020 08:07
@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants