Published an NPM package to prevent browser extensions from crashing Elm apps

We had a problem in production with our app that used Browser.document. Some users were seeing the white-screen of death, and our front-end error logs were saying that the virtual DOM implementation was crashing. Eventually figured out that this was a known problem with a simple, though inelegant workaround. So to make life a little easier in the future, I created this NPM module as a Webpack plugin:

I hope it helps y’all somehow. Please let me know if you have any questions or suggestions.

Thanks!

9 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.