Skip to content

Commit 33be2bf

Browse files
committed
Updated README.md to reflect rootDir changes
1 parent cc947c3 commit 33be2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ bundle.on('css stream', function (css) {
6363

6464
### Options:
6565

66-
- `rootDir`: absolute path to your project's root directory. This is optional but providing it will result in better generated classnames.
66+
- `rootDir`: absolute path to your project's root directory. This is optional but providing it will result in better generated classnames. css-modulesify will try to use the browserify `basedir` if `rootDir` is not specified, if both are not specified it will use the location from which the command was executed.
6767
- `output`: path to write the generated css. If not provided, you'll need to listen to the `'css stream'` event on the bundle to get the output.
6868
- `jsonOutput`: optional path to write a json manifest of classnames.
6969
- `use`: optional array of postcss plugins (by default we use the css-modules core plugins).

0 commit comments

Comments
 (0)