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
// src/background/auth.ts
init_esm_shims();
var import_webextension_polyfill5 = __toESM(require_browser_polyfill()); import URI from "urijs"; // <-- Highlighted line
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
My extension is pretty large in terms of code and complexity and as a result, I have multiple files under
src/background
.Currently, since I'm porting the code a little by little, I have the following:
src/background/auth.ts
src/background/index.ts
After adding the
import './auth'
line, I end up with the following:Stack Trace
dist/background/index.mjs:16155 (anonymous function)
// src/background/auth.ts
init_esm_shims();
var import_webextension_polyfill5 = __toESM(require_browser_polyfill());
import URI from "urijs"; // <-- Highlighted line
Beta Was this translation helpful? Give feedback.
All reactions