You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ b.on('css stream', function (css) {
69
69
-`use`: optional array of postcss plugins (by default we use the css-modules core plugins). NOTE: it's safer to use `after`
70
70
-`after`: optional array of postcss plugins to run after the required css-modules core plugins are run.
71
71
-`generateScopedName`: (API only) a function to override the default behaviour of creating locally scoped classnames.
72
+
-`global`: optional boolean. Set to `true` if you want `css-modulesify` to apply to `node_modules` as well as local files. You can read more about it in the [browserify docs](https://github.com/substack/node-browserify/#btransformtr-opts).
72
73
73
74
### Events
74
75
-`b.on('css stream', callback)` The callback is called with a readable stream containing the compiled CSS. You can write this to a file.
0 commit comments