-
Notifications
You must be signed in to change notification settings - Fork 114
webpack-merge v5 #491
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-merge v5 #491
Conversation
4b8d82e
to
744a1e8
Compare
744a1e8
to
7eaa0bb
Compare
@erezrokah I noticed I hadn't run |
7eaa0bb
to
3437b26
Compare
@erezrokah have you had the time to review this PR? Is there any change you would like to see me doing? |
I'll share some links that explain how This is the commit that removed This is the docs for the removed method:
The standard webpack configuration that is used is very simple: Lines 137 to 177 in 2493319
The only option I thought we could have an issue with the basic The only change I can think of is that it's now not possible to disable the By bumping the major version, I think that possible backwards incompatibility problem is reduced as most projects using this won't have issues after running a regular |
3437b26
to
c5b5df2
Compare
P.S.: I've rebased code on top of latest main. |
@erezrokah Sorry to ping you, but I'd love to see this PR merged :) |
Any news? Thank you! |
Any updates? |
Why is this not merged? |
It's not a direct replacement, however this may cover all the needs. If needed, we can work on the merge strategy. Jest has a file system cache that is not cleared, not even using `jest.resetModules()`. As a workaround, we create the webpack config files with a unique suffix. Ref: jestjs/jest#11426 (comment)
We are deprecating |
Disclaimer: I did not reimplement
merge.smart
because we may not need it. I thought it would be better to keep it simple and in case someone has a special need then we work on the code to handle that instead of potentially add unnecessary code.