File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -61,9 +61,11 @@ The following PostCSS plugins are enabled by default:
61
61
62
62
(i.e. the [ CSS Modules] specification).
63
63
64
- You can supply your own additional PostCSS Plugins by passing ` --use|-u ` to ` css-modulesify ` .
64
+ You can override the default PostCSS Plugins (and add your own) by passing ` --use|-u ` to ` css-modulesify ` .
65
65
66
- In addion you may also wish to configure defined PostCSS plugins by passing ` --plugin.option true ` .
66
+ Or if you just want to add some extra plugins to run after the default, add them to the ` postcssAfter ` array option (API only at this time).
67
+
68
+ In addition you may also wish to configure defined PostCSS plugins by passing ` --plugin.option true ` .
67
69
68
70
An example of this would be:
69
71
Original file line number Diff line number Diff line change @@ -64,6 +64,8 @@ module.exports = function (browserify, options) {
64
64
} ) ;
65
65
}
66
66
67
+ plugins = plugins . concat ( options . postcssAfter || [ ] ) ;
68
+
67
69
// keep track of css files visited
68
70
var filenames = [ ] ;
69
71
You can’t perform that action at this time.
0 commit comments