import { type TransformCSSOptions } from "https://deno.land/x/aleph@1.0.0-beta.42/server/deps.ts";
Properties
optional
targets: TargetsThe browser targets for the generated code.
optional
drafts: DraftsWhether to enable various draft syntax.
optional
cssModules: boolean | CSSModulesConfigWhether to compile this file as a CSS module.
optional
analyzeDependencies: DependencyOptionsWhether 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: PseudoClassesReplaces user action pseudo classes with class names that can be applied from JavaScript. This is useful for polyfills, for example.