error-overlay-webpack-plugin
error-overlay-webpack-plugin copied to clipboard
SSR Support?
Ive tried to use this plugin within my SSR bundle config & It seems to be not supported on the server side with this error:-
window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__=window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__| {},window.__REACT_ERROR_OVERLAY_GLOBAL_HOOK__.iframeReady=function ({re=!0,te=!1,ve()},"production"===process.env.NODE_ENV&&console.warn("react-error-overlay is not meant for use in production. You should ensure it is not included in your build to reduce bundle size.")}])})); ReferenceError: window is not defined at Object.<anonymous> ($PATH/node_modules/react-error-overlay/lib/index.js:1:216)
I am sorry, I don't actively maintain this project. Feel free to submit a PR to fix it, else I can't help.