3.0.5 • Published 2 years ago

@eklingen/vinyl-stream-postcss v3.0.5

Weekly downloads
7
License
MIT
Repository
github
Last release
2 years ago

Small vinyl-stream wrapper -aka Gulp plugin- for postcss

Run PostCSS within your streams. This fully supports source maps.

NOTE: No tests have been written yet!

Installation

yarn install. Or npm install. Or just copy the files to your own project.

Usage

const postcssWrapper = require('@eklingen/vinyl-stream-postcss')
stream.pipe(postcssWrapper())

This plugin assumes an existing configuration dotfile where postcss can find it.

Options

There is one option.

postcss

Both the plugins array and the options object will be passed to postcss. See the "postcss" for more information.

postcssWrapper({
  postcss: {
    plugins: [],
    options: {
      parser: 'scss',
      stringifier: null
    }
  }
})

Dependencies

This package requires "postcss" and "vinyl-sourcemaps-apply".


Copyright (c) 2019 Elco Klingen. MIT License.

3.0.4

2 years ago

3.0.5

2 years ago

3.0.3

2 years ago

3.0.2

3 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

5 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago