Skip to content

TransformCssParams

Parameters for transformCss.

Import:

import type { TransformCssParams } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-transforms';

Signature:

export interface TransformCssParams

Properties

PropertyTypeDescription
filePathstringThe stylesheet's path.
isCssModuleScopedbooleanWhether *.module.css files are scoped here. A bundler that scopes CSS modules itself passes false.
isProductionBuildbooleanWhether this is a production build.
projectFolder?string | undefinedThe folder the project's PostCSS configuration and packages are found from. Defaults to the project root.
sourcestringThe stylesheet's contents.
stylesObsidianPluginStylesOptionsThe stylesheet options.

Links to this page: