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
This boilerplate works fine, but recently I have found out that the webpack configuration is somewhat incorrect and because of that, my background script is also reflected in my popup.js code.
(In my case, I am making an api call in background, but it is triggering the api call again when I open the popup)
I've rechecked my code in all possible ways and after that only I came to conclusion that the webpack configuration is merging all the js files.
Is there any option for NOT COMBINING the scripts at compile time?
The text was updated successfully, but these errors were encountered:
We need some minimal sample code to check this bug. I did a simple test here putting an alert inside the js/background and it isn't triggering when opening the popover, it just appears when loading the extension as it should happen.
This boilerplate works fine, but recently I have found out that the webpack configuration is somewhat incorrect and because of that, my background script is also reflected in my popup.js code.
(In my case, I am making an api call in background, but it is triggering the api call again when I open the popup)
I've rechecked my code in all possible ways and after that only I came to conclusion that the webpack configuration is merging all the js files.
Is there any option for NOT COMBINING the scripts at compile time?
The text was updated successfully, but these errors were encountered: