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 👍
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 updatedcheckFile
as a part of this change to reflect that 👍