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
In addition to that please keep in mind that webpack replaces any occurrence of the keyword GLOBAL_VAR in your code. It won't define the variable for you. In other words: The keyword GLOBAL_VAR must be present at build time.
Hi
I would like to inject global js variables into the extension.
So i edit webextension-toolbox-config.js like so:
However, GLOBAL_VAR is not defined in background context nor in popup
How can we achieve this using the toolbox?
The text was updated successfully, but these errors were encountered: