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

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

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

Properties

name: string
optional
enforce: "pre" | "post"

The order of transformer

optional
idFilter: (id: string) => boolean

Custom id filter, if not provided, the extraction filter will be applied

transform: (
id: string,
) => Awaitable<void>

The transform function