Closed joepie91 closed 5 years ago
Hmm. This might actually be breaking sourcemaps.
I'm not sure how to check, though - there seem to be a few outstanding Firefox bugs in source map parsing, so I don't know whether the source map errors are caused by one of those bugs, by this change, or by something else that browserify-hmr does.
Thanks for looking into this! I can fix it up over the weekend.
I've implemented this and another fix to get react-hot-loader supported. I've then updated the example to use react-hot-loader. (It was using an older deprecated project for react hmr support.)
Excellent, thanks!
Title says it all. This fixes react-hot-loader, and probably other things that rely on
module.id
existing.