definePlugin({ ... }), declares metadata, and uses APIs from @api/*, @utils/*, @webpack, @webpack/common, and @components/*.
Where plugins live
Each plugin folder usually contains a single
index.ts or index.tsx. Split files only when the code is large or reusable.
Plugin anatomy
Devs or EquicordDevs entry before submitting code.
Prefer declarative fields
Many integrations can be declared directly on the plugin object:
Declarative fields let
PluginManager handle registration, cleanup, and API dependency enabling.

