case-sensitive-paths-webpack-plugin icon indicating copy to clipboard operation
case-sensitive-paths-webpack-plugin copied to clipboard

Add Include/Exclude globs to options, because it is so slow

Open AuthorProxy opened this issue 5 years ago • 4 comments

AuthorProxy avatar Jan 12 '20 20:01 AuthorProxy

Wow, I just went from 3 minutes to 2 minutes by removing CaseSensitivePathsPlugin 😳

It is a bit slow.

cdeutsch avatar Feb 20 '20 15:02 cdeutsch

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 avatar Feb 21 '20 18:02 Urthen

@Urthen Total filesystem reads: 13,189

cdeutsch avatar Feb 24 '20 16:02 cdeutsch

We're experiencing a similar issue. Total filesystem reads: 15057

calling avatar Mar 09 '20 20:03 calling