Skip to content
Semyon Pisarev edited this page Sep 23, 2016 · 1 revision

PreCSS Options

PreCSS options propagate themselves with namespaces to plugin components.

All plugins are enabled by default, to disable one, pass disable: true option to plugin namespace.

Options should have following form:

{
  componentNamespace: { componentOptions },
  ...
}

Component namespaces and default options:

Plugin Namespace Defaults
postcss-partial-import import {}
postcss-mixins mixins {}
postcss-advanced-variables variables {}
postcss-custom-media media {}
postcss-custom-properties properties {}
postcss-media-minmax minmax {}
postcss-color-function color {}
postcss-nesting nesting {}
postcss-nested nested {}
postcss-custom-selectors selectors {}
postcss-atroot atroot {}
postcss-property-lookup lookup { logLevel: 'warn' }
postcss-extend extend {}
postcss-selector-matches matches {}
postcss-selector-not not {}
Clone this wiki locally