Skip to content

Commit 4f7e52e

Browse files
committed
some readme tweaks
1 parent e1330ca commit 4f7e52e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import styles from './buttons.css'
2828
elem.innerHTML = `<button class="${styles.continueButton}">Continue</button>`
2929
```
3030

31-
## Extensions
31+
## Composition
3232

3333
Since we're exporting class names, there's no reason to export only one. This can give us some really useful reuse of styles:
3434

@@ -64,15 +64,16 @@ becomes:
6464
}
6565
```
6666

67+
**Note:** you can also use `composes` as a shorthand for `compose-with`
68+
6769
## Local-by-default & reuse across files
6870

69-
You're looking for [CSS Modules](https://github.com/webpack/css-modules). It spans this plugin as well as a few others, and it's amazing.
71+
You're looking for [CSS Modules](https://github.com/css-modules/css-modules). It uses this plugin as well as a few others, and it's amazing.
7072

7173
## Building
7274

7375
```
7476
npm install
75-
npm build
7677
npm test
7778
```
7879

@@ -83,7 +84,7 @@ npm test
8384

8485
## Development
8586

86-
- `npm autotest` will watch `src` and `test` for changes and run the tests
87+
- `npm autotest` will watch `src` and `test` for changes and run the tests, and transpile the ES6 to ES5 on success
8788

8889
## License
8990

0 commit comments

Comments
 (0)