postcss-load-config
- Version 6.0.1
- Published
- 22.7 kB
- 1 dependency
- MIT license
Install
npm i postcss-load-config
yarn add postcss-load-config
pnpm add postcss-load-config
Overview
Autoload Config for PostCSS
Index
Functions
function postcssrc
postcssrc: ( ctx?: postcssrc.ConfigContext, path?: string, options?: ConfigOptions) => Promise<postcssrc.Result>;
Interfaces
interface Config
interface Config {}
property from
from?: string;
property map
map?: string | false;
property parser
parser?: string | ProcessOptions['parser'] | false;
property plugins
plugins?: Array<ConfigPlugin | false> | Record<string, object | false>;
property stringifier
stringifier?: string | ProcessOptions['stringifier'] | false;
property syntax
syntax?: string | ProcessOptions['syntax'] | false;
property to
to?: string;
interface ProcessOptionsPreload
interface ProcessOptionsPreload {}
property parser
parser?: string | ProcessOptions['parser'];
property stringifier
stringifier?: string | ProcessOptions['stringifier'];
property syntax
syntax?: string | ProcessOptions['syntax'];
Type Aliases
type ConfigContext
type ConfigContext = Context & ProcessOptionsPreload & RemainingProcessOptions;
type ConfigFn
type ConfigFn = (ctx: ConfigContext) => Config | Promise<Config>;
type ConfigPlugin
type ConfigPlugin = Transformer | Plugin | Processor;
type RemainingProcessOptions
type RemainingProcessOptions = Pick< ProcessOptions, Exclude<keyof ProcessOptions, keyof ProcessOptionsPreload>>;
type ResultPlugin
type ResultPlugin = Plugin | Transformer | Processor;
Package Files (1)
Dependencies (1)
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (4)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/postcss-load-config
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/postcss-load-config)
- HTML<a href="https://www.jsdocs.io/package/postcss-load-config"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2818 ms. - Missing or incorrect documentation? Open an issue for this package.