Skip to main content
Defines a company- or droplet-owned widget package.

Parameters

DefineWidgetPackageOptions<Scope, StableId>
required
Type: DefineWidgetPackageOptionsPackage identity, SemVer version, widgets, and optional runtime stylesheets.

Returns

SourceWidgetPackage A canonical source package descriptor. Build and dev replace runtime artifact URLs.