case-sensitive-paths-webpack-plugin
case-sensitive-paths-webpack-plugin copied to clipboard
Add Include/Exclude globs to options, because it is so slow
Wow, I just went from 3 minutes to 2 minutes by removing CaseSensitivePathsPlugin
😳
It is a bit slow.
If you're having slowness problems, can you run with the {debug: true}
option and let me know how many filesystem operations it is performing? That'll help me figure out what kind of scale project you're working on.
As for adding include/exclude globs, I probably won't add that as it would largely defeat the purpose of the plugin (which is to detect case sensitivity errors wherever they occur). However, if you are working on a project with TONS of node-modules dependencies, I think it might be safe to add an option to skip those, as it is much less likely to run into accidents there.
@Urthen Total filesystem reads: 13,189
We're experiencing a similar issue. Total filesystem reads: 15057