transformCss
Runs a stylesheet through the pipeline its options ask for: the project’s PostCSS configuration, Tailwind, and the CSS-module scoping of a *.module.css file.
Import:
import { transformCss } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';Signature:
function transformCss(params: TransformCssParams): Promise<TransformedCss>Parameters:
| Parameter | Type | Description |
|---|---|---|
params |
TransformCssParams | The TransformCssParams. |
Returns: Promise<TransformedCss> — A Promise that resolves to the TransformedCss.
Links to this page: