Urthen / case-sensitive-paths-webpack-plugin

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

Use compiler filesystem #14

Closed jquense closed 7 years ago

jquense commented 7 years ago

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)

jquense commented 7 years ago

friendly ping

Urthen commented 7 years ago

I've merged this and released 2.0, could you try using it and ensure it meets your use case?

I'd like to get some people using it before I go ahead and update create-react-app.