Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/aleph/lib/@unocss/core.ts>UnocssPluginContext

The Full-stack Framework in Deno.
Go to Latest
interface UnocssPluginContext
import { type UnocssPluginContext } from "https://deno.land/x/aleph@1.0.0-alpha.65/lib/@unocss/core.ts";

Type Parameters

optional
Config extends UserConfig = UserConfig

Properties

ready: Promise<LoadConfigResult<Config>>
tokens: Set<string>
modules: BetterMap<string, string>
filter: (code: string, id: string) => boolean
extract: (code: string, id?: string) => Promise<void>
reloadConfig: () => Promise<LoadConfigResult<Config>>
getConfig: () => Promise<Config>
invalidate: () => void
onInvalidate: (fn: () => void) => void
root: string
updateRoot: (root: string) => Promise<LoadConfigResult<Config>>