Sorry—just realized you're responsible for much of the bazelbuild/rules_nodejs doc/commentary I've been poring over!
This pattern is directly applicable to a number of HMR-related Issues on that repo. It's a workaround certainly, but I have it operating with Webpack 5 & it's the first solution that's unblocked me. I've no doubt it would help others.
I'll add comments to those issues & strive to add an /examples/ PR, though not sure if this would be a sanctioned solution.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sorry—just realized you're responsible for much of the
bazelbuild/rules_nodejs
doc/commentary I've been poring over!This pattern is directly applicable to a number of HMR-related Issues on that repo. It's a workaround certainly, but I have it operating with Webpack 5 & it's the first solution that's unblocked me. I've no doubt it would help others.
I'll add comments to those issues & strive to add an
/examples/
PR, though not sure if this would be a sanctioned solution.