Architecture
Build: library mode generates an IIFE bundle at
dist/index.iife.jsviavite.config.lib.ts.Registration: the bundle self-registers with the global Octopus host (IIFE waiting for
Octopus.registerWidget).Consumption:
octopus-frontendcan import/serve the IIFE bundle and the widget will register under its keyvariableSelector.Types: TypeScript types are emitted to
dist/src/index.d.tsfor integration safety.