estore-preprocessor

3.3.0 • Public • Published

preprocessor

PostCSS preprocessor

Install

$ npm install --save estore-preprocessor

Usage

const postcss = require('postcss');
const preprocessor = require('estore-preprocessor');
 
postcss()
    .use(preprocessor())
    .process(':root {--color: #fff;}body {background-color: var(--color);}')
    .then(res => {
        console.log(res.css);
        //=> body {background-color: #fff;}
    });

API

preprocessor(options)

options

Type: object

Object of options to pass to the preprocessor.

License

MIT © Viskan Distanshandel System AB

Readme

Keywords

none

Package Sidebar

Install

npm i estore-preprocessor

Weekly Downloads

5

Version

3.3.0

License

MIT

Last publish

Collaborators

  • alonalon
  • anton-johansson
  • gillstrom
  • henrikpeszlen
  • michaelbergquistsuarez