File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
1
# babel-plugin-react-css-modules
2
2
3
+ ![ [ GitSpo Mentions] ( https://gitspo.com/mentions/gajus/babel-plugin-react-css-modules )] ( https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square )
3
4
[ ![ Travis build status] ( http://img.shields.io/travis/gajus/babel-plugin-react-css-modules/master.svg?style=flat-square )] ( https://travis-ci.org/gajus/babel-plugin-react-css-modules )
4
5
[ ![ NPM version] ( http://img.shields.io/npm/v/babel-plugin-react-css-modules.svg?style=flat-square )] ( https://www.npmjs.org/package/babel-plugin-react-css-modules )
5
6
[ ![ Canonical Code Style] ( https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square )] ( 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.
You can’t perform that action at this time.
0 commit comments