Skip to content

Latest commit

 

History

History
72 lines (52 loc) · 1.96 KB

DOCS.md

File metadata and controls

72 lines (52 loc) · 1.96 KB

Modules

postcss-load-config

Autoload Config for PostCSS

Functions

rc(ctx, path, options)Promise

Load Config

postcss-load-config

Autoload Config for PostCSS

Requires: module:comsiconfig, module:./options, module:./plugins
Version: 2.0.0
Author: Michael Ciniawsky @michael-ciniawsky [email protected]
License: MIT

rc(ctx, path, options) ⇒ Promise

Load Config

Kind: global function
Returns: Promise - config PostCSS Config

Param Type Description
ctx Object Config Context
path String Config Path
options Object Config Options

rc~ctx : Object

Kind: inner property of rc
Properties

Name Type Default Description
cwd String process.cwd() Config search start location
env String process.env.NODE_ENV Config Enviroment, will be set to development by postcss-load-config if process.env.NODE_ENV is undefined

rc~path : String

process.cwd()

Kind: inner property of rc

rc~options : Object

Kind: inner property of rc
Properties

Name Type Default
rcExtensions Boolean true