enabledAddons
The names of the add-ons that are on, in canonical order.
The names of the add-ons that are on, in canonical order.
Import#
ts
import { enabledAddons } from "create-shadow-app";
Signature#
ts
function enabledAddons(options: ResolvedOptions): AddonName[]
Parameters#
| Name | Description |
|---|---|
options |
Resolved choices. |
Returns#
For example ["tailwind", "biome"].
Examples#
ts
enabledAddons(resolveOptions({ name: "a", biome: true })); // ["biome"]