TransformCssParams
Parameters for transformCss.
Import:
import type { TransformCssParams } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';Signature:
export interface TransformCssParamsProperties
| Property | Type | Description |
|---|---|---|
| filePath | string | The stylesheet's path. |
| isCssModuleScoped | boolean | Whether *.module.css files are scoped here. A bundler that scopes CSS modules itself passes false. |
| isProductionBuild | boolean | Whether this is a production build. |
| projectFolder? | string | undefined | The folder the project's PostCSS configuration and packages are found from. Defaults to the project root. |
| source | string | The stylesheet's contents. |
| styles | ObsidianPluginStylesOptions | The stylesheet options. |
Links to this page: