Urthen / case-sensitive-paths-webpack-plugin

Enforces case sensitive paths in Webpack requires.
MIT License
428 stars 45 forks source link

Fix use of NormalModuleFactory.afterResolve for webpack 5 #66

Open tim-stasse opened 3 years ago

tim-stasse commented 3 years ago

Assuming @tim-soft (OP for #56) was having the same issue as @lucasecdb, this change should be enough to add Webpack 5 support (& close #56).

As per the error message shown in @lucasecdb's screenshot, the NormalModuleFactory.afterResolve has been changed to a bailing hook, instead of a waterfall hook. So I've updated checkFile as a part of this change to reflect that 👍

khaled-elakkad commented 1 year ago

Why haven't this been merged yet? Can we please merge it @Urthen ?

jotaRenan commented 1 year ago

Hi @Urthen, is there any perspective on this getting merged?