Skip to content

Commit

Permalink
docs: add v3 usage (#268)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: v3 not support rollup v1.
extract relative path based on bundle root.
  • Loading branch information
SASUKE40 committed Apr 21, 2020
1 parent 91aa1e5 commit b27c3eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ yarn add rollup-plugin-postcss --dev

## Usage

You are viewing the docs for `v2.0` which only support Rollup 1.0 or above.
`v2.0` support rollup v1 or above, but it prints deprecated warning from rollup v2.

**Breaking change**: `v3.0` only support rollup v2, and the extract path based on bundle root
the location of the generated file outside the bundle directory not allowed in rollup v2.

```js
// rollup.config.js
import postcss from 'rollup-plugin-postcss'
Expand Down

0 comments on commit b27c3eb

Please sign in to comment.