scoped-css-loader
Advanced tools
Comparing version 0.3.1 to 0.3.3
{ | ||
"name": "scoped-css-loader", | ||
"version": "0.3.1", | ||
"version": "0.3.3", | ||
"main": "index.js", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
], | ||
"gitHead": "5edcd58f6b82bade9cf8a72e7045ab8b4d3d9ad3" | ||
"gitHead": "dea49f1948e2aab761ed03953167c9b5d88bb0f3" | ||
} |
@@ -25,2 +25,15 @@ # React scoped CSS | ||
also note that you can define your own matching rule like this | ||
```json | ||
"plugins": [ | ||
[ | ||
"babel-plugin-react-scoped-css", | ||
{ | ||
"include": ".local.(sa|sc|c)ss$" | ||
} | ||
] | ||
] | ||
``` | ||
If you have other plugins installed, just add it to the list, order doesn't matter. | ||
@@ -40,3 +53,3 @@ | ||
{ | ||
test: /\.(s)?css$/, | ||
test: /\.(sc|c|sa)ss$/, | ||
use: [ | ||
@@ -43,0 +56,0 @@ { |
130
4026
3