You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem with Chrome extension http://popup-blocker.org/ which is injecting a script tag at the end of the index page.
The script webpack-dev-server/client/index.js is looking for the last script tag: var scriptElements = document.getElementsByTagName("script"); var scriptHost = scriptElements[scriptElements.length-1].getAttribute("src").replace(/\/[^\/]+$/, "");
Hi,
I encountered a problem with Chrome extension http://popup-blocker.org/ which is injecting a script tag at the end of the index page.
The script webpack-dev-server/client/index.js is looking for the last script tag:
var scriptElements = document.getElementsByTagName("script"); var scriptHost = scriptElements[scriptElements.length-1].getAttribute("src").replace(/\/[^\/]+$/, "");
Original issue PatrickJS/PatrickJS-starter#511 took me a few hours to detect.)
It would be nice, if the webpack script tag selection could rely on something other than being the last one.
Thanks,
Jean
The text was updated successfully, but these errors were encountered: