|
1 | 1 | # babel-plugin-react-css-modules
|
2 | 2 |
|
| 3 | +](https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square) |
3 | 4 | [](https://travis-ci.org/gajus/babel-plugin-react-css-modules)
|
4 | 5 | [](https://www.npmjs.org/package/babel-plugin-react-css-modules)
|
5 | 6 | [](https://github.com/gajus/canonical)
|
@@ -260,19 +261,19 @@ To add support for different CSS syntaxes (e.g. SCSS), perform the following two
|
260 | 261 | }
|
261 | 262 | }
|
262 | 263 | ```
|
263 | | - |
| 264 | + |
264 | 265 | Postcss plugins can have options specified by wrapping the name and an options object in an array inside your config
|
265 | | - |
| 266 | + |
266 | 267 | ```json
|
267 | 268 | "plugins": [
|
268 | 269 | ["postcss-import-sync2", {
|
269 | 270 | "path": ["src/styles", "shared/styles"]
|
270 | 271 | }],
|
271 | 272 | "postcss-nested"
|
272 | 273 | ]
|
273 | | - ``` |
274 | | - |
275 | | - |
| 274 | + ``` |
| 275 | + |
| 276 | + |
276 | 277 | ### Custom Attribute Mapping
|
277 | 278 |
|
278 | 279 | You can set your own attribute mapping rules using the `attributeNames` option.
|
|
0 commit comments