Open JonnyBurger opened 1 year ago
Just noticed that a test is failing and am a bit lost on how this could be correctly fixed..
There is a test that asserts that getTimeInfoEntries
should not have files with invalid names in their map. However Webpack relies on it here:
In this code snippet, getting the file timestamps for a file with wrong casing returns null
, which is neither undefined
nor ignore
and therefore the module does not get invalidated.
Maybe this should be fixed on Webpack side instead?
Need some help in figuring out what the right way to approach it is, until then I need to pause on this issue.
Fixes the bug described in https://github.com/webpack/watchpack/issues/228.
Verified by checking that the example posted in the original issue works now,
null
is not returned, and by adding a test that failed before the fix.