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.70/lib/@unocss/core.ts";

Type Parameters

optional
Config extends UserConfig = UserConfig

Properties

ready: Promise<LoadConfigResult<Config>>
tokens: Set<string>

All tokens scanned

modules: BetterMap<string, string>

Map for all module's raw content

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>>