Skip to content

resolveExtensionId

resolveExtensionId(explicit?): string | undefined

Defined in: index.ts:85

The global the @extport/wxt plugin injects before each entry’s main (shared with @extport/sdk/analytics — both always agree on one id, so there’s no “this context uses extensionId, that one uses productName” split). An explicit argument wins; otherwise the injected global is read; with neither, the caller decides how to fail (analytics skips silently, licensing throws at construction — the difference lives at the call site, not here).

string

string | undefined