-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Migrate to Webpack 4 #3923
Comments
I have something in the works. No ETA though. |
Looks like webpack-dev-middleware just upgraded, which should help a lil' bit. |
If I'm going to start a new project, will it be hard to migrate from the current version of nextjs to a version using webpack 4? |
As long as you run the latest version of Next.js we're not going to break much. |
any progress on this? can i help? i recently migrated a big project to webpack 4. |
I just in progress to reload the project with web pack 4 |
Here my work for webpack4 (i just did tested on browser only ) A little boilerplate using no babelified code of source nextJs inside with feature like hot-reload completely working with css,css and js I changed a bit the core of nextjs to make all works .. i wait for any questions https://github.com/simonjoom/NextJs4Reloaded Please read |
From my comment here: #4332 (comment) As said on twitter I wouldn't recommend using this since it removes a lot of features / is not tested. But we can sure copy a few things. Either way there's no need for an extra issue. Duplicate of #3923 Thanks for sharing 🙏 |
Hi I see that there is not much activity i the add/webpack4 branch. Since the release of webpack 4 , next.js v6 has been released without support for webpack 4, I assumes that is because it's a bit tricky or more work then expected to get webpack 4 to work with next.js? Is there anything we as a community can do to help with this? Are you able to outlines the steps that you guys want to take to get webpack 4 into next.js? ❤️ Great work on next! use it in so many apps! ❤️ |
The problem with Webpack 4 right now is that it requires a big refactor of certain parts of how Next works right now. I'll get onto that after #4496. As you can see in the "WIP" branch it's far from a simple |
You all rock! |
It looks like Webpack 4 is included in |
Context
We ❤️next.js! I made the (possibly) poor decision of migrating our (nteract's) monorepo to Webpack 4 only to notice that next.js is on webpack 3. How far off is a migration to webpack 4? My primary reason for asking is to know if I should switch us back to webpack 3 or just wait on the next next version. 😄
We have a few non-next.js apps (some loaded by a python server, one by electron) and we want to make the webpack similar using the universal webpack configurator plugins crafted for next 4. I don't want to break our next apps, so I kept those a bit separate.
The text was updated successfully, but these errors were encountered: