- postcss-load-config
Autoload Config for PostCSS
- rc(ctx, path, options) ⇒
Promise
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
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, path, options) ⇒
Promise
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 |
process.cwd()
Kind: inner property of rc
Kind: inner property of rc
Properties
Name | Type | Default |
---|---|---|
rcExtensions | Boolean |
true |