0.0.1 • Published 4 years ago

@temporg/ui-postcss-config v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

category: packages

ui-postcss-config

npm  build-status  MIT License  Code of Conduct

A shared postcss config made by Rock Content.

Installation

yarn add @temporg/ui-postcss-config

Usage

In your PostCSS config file:

/* postcss.config.js */
module.exports = require('@temporg/ui-postcss-config')({
  before: {
    plugin: 'postcss-nested',
    insert: [
      [require.resolve('postcss-input-range')]
    ]
  },
  nesting: false // Set to true to use postcss-nesting instead of postcss-nested, defaults to false
})