File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 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+.
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 <hughskennedy@gmail.com>" ,
66 "bugs" : " https://github.com/stackcss/postcss-prefix/issues" ,
77 "dependencies" : {
You can’t perform that action at this time.
0 commit comments