isPostcssNeeded
Tells whether a stylesheet goes through PostCSS at all.
Import:
import { isPostcssNeeded } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-features';Signature:
function isPostcssNeeded(styles: ObsidianPluginStylesOptions | undefined): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
styles |
ObsidianPluginStylesOptions | undefined | The stylesheet options, if any. |
Returns: boolean — true when the project’s PostCSS configuration or Tailwind applies.