Skip to content

Commit 8585287

Browse files
committed
Fix cssnext usage in examples
Fixes webpack-contrib#23
1 parent 284bfdf commit 8585287

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
]
3535
},
3636
postcss: function () {
37-
return [autoprefixer, cssnext];
37+
return [autoprefixer, cssnext()];
3838
}
3939
}
4040
```
@@ -52,7 +52,7 @@ Note that the context of this function
5252
module.exports = {
5353
...
5454
postcss: function () {
55-
return [autoprefixer, cssnext];
55+
return [autoprefixer, cssnext()];
5656
}
5757
}
5858
```
@@ -83,7 +83,7 @@ module.exports = {
8383
},
8484
postcss: function () {
8585
return {
86-
defaults: [autoprefixer, cssnext],
86+
defaults: [autoprefixer, cssnext()],
8787
cleaner: [autoprefixer({ browsers: [] })]
8888
};
8989
}

0 commit comments

Comments
 (0)