Skip to content

pluginSource

pluginSource(extensionId, analytics): string

Defined in: index.ts:63

The source of the WXT plugin injected into every entrypoint, values inlined as literals (generated first-party code — no reliance on define replacement reaching dependency code). ENTRYPOINT is statically replaced per entrypoint build, so the analytics branch (and its dynamic import, which WXT inlines) is dead-code-eliminated everywhere but the background.

string

boolean

string