hi there, I was running into an issue with your where another plugin was augmenting the local fs, but was being ignored by this Plugin.
best practice is that plugins should use the compiler exposed filesystems to avoid these sort of issues. The downside is you can only really rely on the async functions existing, which complicates the logic a bit here. On the upside side tho, webpack already caches all fs operations, so your caching logic here could probably be removed as redundant (I didn’t want to assume you wanted to do that though)
hi there, I was running into an issue with your where another plugin was augmenting the local fs, but was being ignored by this Plugin.
best practice is that plugins should use the compiler exposed filesystems to avoid these sort of issues. The downside is you can only really rely on the async functions existing, which complicates the logic a bit here. On the upside side tho, webpack already caches all fs operations, so your caching logic here could probably be removed as redundant (I didn’t want to assume you wanted to do that though)