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

x/aleph/server/build.ts>bundleCSS

The Full-stack Framework in Deno.
Go to Latest
function bundleCSS
import { bundleCSS } from "https://deno.land/x/aleph@1.0.0-beta.23/server/build.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[]; }>