babel-plugin-react-scoped-css
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "babel-plugin-react-scoped-css", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"main": "index.js", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
], | ||
"gitHead": "2a163e6797c9d38e905f7e42fcc9477cd4eb4dd5" | ||
"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 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130
5244
3