Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/aleph/server/deps.ts>TransformCSSOptions

The Full-stack Framework in Deno.
Very Popular
Go to Latest
interface TransformCSSOptions
Re-export
import { type TransformCSSOptions } from "https://deno.land/x/aleph@1.0.0-beta.1/server/deps.ts";

Properties

optional
minify: boolean

Whether to enable minification.

optional
sourceMap: boolean

Whether to output a source map.

optional
targets: Targets

The browser targets for the generated code.

optional
drafts: Drafts

Whether to enable various draft syntax.

optional
cssModules: boolean | CSSModulesConfig

Whether to compile this file as a CSS module.

optional
analyzeDependencies: boolean

Whether to analyze dependencies (e.g. @import and url()). When enabled, @import rules are removed, and url() dependencies are replaced with hashed placeholders that can be replaced with the final urls later (after bundling). Dependencies are returned as part of the result.

optional
pseudoClasses: PseudoClasses

Replaces user action pseudo classes with class names that can be applied from JavaScript. This is useful for polyfills, for example.

optional
unusedSymbols: string[]

A list of class names, ids, and custom identifiers (e.g. @keyframes) that are known to be unused. These will be removed during minification. Note that these are not selectors but individual names (without any . or # prefixes).