isCssModuleFile
Tells whether a stylesheet is a CSS module by its file name.
Import:
import { isCssModuleFile } from '@mnaoumov/obsidian-dev-toolkit/bundlers/obsidian-plugin-features';Signature:
function isCssModuleFile(filePath: string): booleanParameters:
| Parameter | Type | Description |
|---|---|---|
filePath |
string | The stylesheet’s path. |
Returns: boolean — true for *.module.css (and .module.pcss, .module.scss, .module.sass).