-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
fix: safeguard against undefined
entry
#14068
Conversation
For maintainers only:
|
Please add tests |
We should found a place/situation where we return |
I'm sorry, but not familiar with how exactly this is used, or when this case is called to add a test or figure out why/when it may end up being undefined. Perhaps @sokra would know best, since he added the Willing to help, just not sure how. |
For |
Ok that does give a clue what's going on. There's an We are using a virtual entry file, ie. it doesn't exist on the filesystem using https://github.com/sysgears/webpack-virtual-modules. |
To be honestly webpack never supports |
Cache will be broken too |
This reverts commit 99585d8.
|
Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon. |
Hi, thanks for the fix! Do you have an estimate for a release? |
Near future, we need fix one critical bug |
The fix for #14028 added in #14030 does not catch cases where
entry
may beundefined
.Starting with
5.51.0
we're seeing errors like this one (even with5.51.1
):What kind of change does this PR introduce?
bugfix
Did you add tests for your changes?
N/A
Does this PR introduce a breaking change?
No
What needs to be documented once your changes are merged?
N/A