Skip to content

Commit 347fca1

Browse files
committed
3.0.0
1 parent a51dc1b commit 347fca1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# postcss-prefix change log
2+
All notable changes to this project will be documented in this file.
3+
This project adheres to [Semantic Versioning](http://semver.org/).
4+
5+
## 3.0.0
6+
* Update to the postcss 8 plugin API.
7+
* Require Node.js 8+.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ const css = `
1111
.hello { color: black }
1212
`
1313

14-
const newCss = postcss()
15-
.use(prefix('#hello-world'))
14+
const newCss = postcss([ prefix('#hello-world') ])
1615
.process(css)
1716
.toString()
1817

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "postcss-prefix",
33
"description": "Replace `:host` elements with a prefix of your choosing",
4-
"version": "2.2.0",
4+
"version": "3.0.0",
55
"author": "Hugh Kennedy <[email protected]>",
66
"bugs": "https://github.com/stackcss/postcss-prefix/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)