-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Builder-Webpack5: Use native features instead of plugins #14281
Builder-Webpack5: Use native features instead of plugins #14281
Conversation
@7rulnik Awesome, tremendous work! 😱😱😱 Given that we are late in the release cycle and these are fairly core changes, I'd like to merge this into 6.3-alpha. Are there any important reasons why we should merge this now (and possibly delay the 6.2 release as a result?). For example, are these breaking changes in |
@shilman no need to rush, but there may be only one reason — not sure that the current config for webpack 5 works with yarn PnP. Have you tested this? |
@7rulnik No, I certainly haven't. I'll discuss with @gaetanmaisse who is our local PnP guru. We're calling webpack5 support experimental in 6.2, so I think we can ship without PnP support if it turns out to be broken. Another big limitation is that |
Merged the blocking PR and will release today FYI |
@shilman I'm trying to run an example and update test but got error from
|
@7rulnik what's your setup? and what's the actual error? pretty sure this is working for me
|
@shilman it's weird because I copy-pasted all info from the console and there is not an exact error. I decided to debug a bit the prepare script, but after reboot, all works fine. By the way, I'm on M1 MacBook
But as I can see we have some problems with PnP case on CI? |
@7rulnik CI is broken right now due to an unrelated issue. Can you merge |
I tried it (maybe before RCs go out) with Currently, there is no E2E tests using webpack 5 I think 🤔 so I will need some manual testing. As of 6.3-alpha I will add an PnP E2E tests related to WebComponents so it could also use webpack 5 too, I need to discuss that with other WC foxes. |
hey @7rulnik can you update this branch with |
hey @7rulnik can you update this branch with next or allow SB members to push on the branch of this PR? |
Nx Cloud ReportCI ran the following commands for commit a030edf. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch
Sent with 💌 from NxCloud. |
@shilman done |
@7rulnik can you try again? we still can't push to this branch. thanks! |
@shilman I don't have a checkbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks @7rulnik !!!
What I did
How to test
Just run some examples with assets.
Blocked by #14264