Skip to content

Commit 1b50a11

Browse files
committed
docs: add a note about default compatability with the css-loader
1 parent c1021c5 commit 1b50a11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ NODE_ENV=production ./test
8989

9090
Missing a configuration? [Raise an issue](https://github.com/gajus/babel-plugin-react-css-modules/issues/new?title=New%20configuration:).
9191

92+
> Note:
93+
> The default configuration should work out of the box with the [css-loader](https://github.com/webpack/css-loader).
94+
9295
## Installation
9396

9497
When `babel-plugin-react-css-modules` cannot resolve CSS module at a compile time, it imports a helper function (read [Runtime `styleName` resolution](#runtime-stylename-resolution)). Therefore, you must install `babel-plugin-react-css-modules` as a direct dependency of the project.

0 commit comments

Comments
 (0)