diff --git a/README.md b/README.md index 543bbb9..0fda1ce 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # babel-plugin-react-css-modules +[![GitSpo Mentions](https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square)](https://gitspo.com/mentions/gajus/babel-plugin-react-css-modules) [![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) [![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) [![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical) @@ -260,9 +261,9 @@ To add support for different CSS syntaxes (e.g. SCSS), perform the following two } } ``` - + Postcss plugins can have options specified by wrapping the name and an options object in an array inside your config - + ```json "plugins": [ ["postcss-import-sync2", { @@ -270,9 +271,9 @@ To add support for different CSS syntaxes (e.g. SCSS), perform the following two }], "postcss-nested" ] - ``` - - + ``` + + ### Custom Attribute Mapping You can set your own attribute mapping rules using the `attributeNames` option.