File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import styles from './buttons.css'
2828elem .innerHTML = ` <button class =" ${styles.continueButton}" >Continue</button >`
2929```
3030
31- ## Extensions
31+ ## Composition
3232
3333Since 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```
7476npm install
75- npm build
7677npm 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
You can’t perform that action at this time.
0 commit comments