Uh oh!
There was an error while loading. Please reload this page.
Webpack plugin to detect case mismatch in requires - #266
Conversation
gaearon
commented
Jul 28, 2016
Can you assess the performance impact of this on recompiles? |
alexzherdev
commented
Jul 28, 2016
By importing do you mean creating a new app via create-react-app, and then just copying sources over? |
gaearon
commented
Jul 28, 2016
Doesn’t really matter, I just want to check what happens when there are many modules. |
gaearon
commented
Jul 29, 2016
(To be clear, what you suggested sounds like a good way, yes.) |
alexzherdev
commented
Jul 29, 2016
I have a mid-size project handy (~10k lines), taking ~15s on the initial startup, recompiles take a fraction of a second with or without the plugin. I wonder if recompiles on a bigger project (like React at 50k lines) would be seriously slower, but it's hard to make a complex project compile without bringing in all the infrastructure. |
gaearon
commented
Jul 29, 2016
Looking good, thank you. |
Addresses #240.

Plugin works as advertised, both with requires and imports.
I was not sure if we need this in prod, so only included in dev for now. Also, pinned the version as with other dependencies.