-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Description
I found a peculiar bug with using webextension-polyfill in webpack: issue 5828.
Long story short, the polyfill guard confuses webpack in certain circumstances:
| if (typeof browser === "undefined") { |
This got me thinking, any reason why something simpler like if (!window.browser) { is not used here instead?
Reactions are currently unavailable