Skip to content

Minor.updates #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ require('css-modules-require-hook');

```javascript
require('css-modules-require-hook')({
// If you run css-modulesify and require-hook from different directories,
// you have to specify similar root directories
// in order to get the same class names
root: '...', // please, use the absolute path here. It's process.cwd() by default
// Setting this allows you to specify custom PostCSS plugins
// You may use functions or strings, which match to the modules with the same name
use: [] // may use `u` for short
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A require hook to compile CSS Modules on the fly",
"main": "index.js",
"engines": {
"node": ">0.12"
"node": ">=0.12"
},
"devDependencies": {
"babel": "^5.8.20",
Expand Down