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
When I try to inject a script to the client (I need to use some globals available in the site) and build the extension, the transpiled code tries to use getUrl but that method is not available on the client (obviously)
There is any way to make this work?
The text was updated successfully, but these errors were encountered:
The plugin creates a wrapper script for scripts that contain imports, so to avoid that you can remove imports from your script. Alternatively could drop a static script in public and manually inject it.
When I try to inject a script to the client (I need to use some globals available in the site) and build the extension, the transpiled code tries to use
getUrl
but that method is not available on the client (obviously)There is any way to make this work?
The text was updated successfully, but these errors were encountered: