Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Update setup.md #215

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/content/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,12 @@ options for more informations.

#### As a PostCSS plugin

`var postcssPlugin = cssnext(options)`

cssnext can be used as a postcss plugin:
To use cssnext as a postcss plugin check [postcss-cssnext](https://github.com/cssnext/postcss-cssnext).

```js
var fs = require("fs")
var postcss = require("postcss")
var cssnext = require("cssnext")
var cssnext = require("postcss-cssnext")

var input = fs.readFileSync("index.css", "utf8")

Expand Down