Module

x/aleph/server/optimizer.ts>bundleCSS

The Full-stack Framework in Deno.
Go to Latest
function bundleCSS
import { bundleCSS } from "https://dotland.deno.dev/x/aleph@1.0.0-beta.15/server/optimizer.ts";

Bundle the css using parcel-css with nesting and customMedia draft support.

Parameters

specifier: string
sourceCode: string
options: { asJsModule?: boolean; hmr?: boolean; } & TransformCSSOptions
optional
_tracing = [UNSUPPORTED]

Returns

Promise<{ code: string; cssModulesExports?: Record<string, string>; deps?: string[]; }>