styled-jsx-plugin-postcss
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -17,3 +17,3 @@ const loopWhile = require('deasync').loopWhile | ||
processor(cssWithPlaceholders) | ||
processor(cssWithPlaceholders, settings) | ||
.then(resolved) | ||
@@ -20,0 +20,0 @@ .catch(resolved) |
{ | ||
"name": "styled-jsx-plugin-postcss", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Plugin to add PostCSS support to styled-jsx", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -12,3 +12,3 @@ const postcss = require('postcss') | ||
if (!plugins) { | ||
loaderPromise = loader(options.env || process.env, null, { argv: false }) | ||
loaderPromise = loader(options.env || process.env, options.path, { argv: false }) | ||
.then(pluginsInfo => { | ||
@@ -15,0 +15,0 @@ plugins = pluginsInfo.plugins || [] |
@@ -28,2 +28,22 @@ # styled-jsx-plugin-postcss | ||
With config: | ||
```json | ||
{ | ||
"plugins": [ | ||
["styled-jsx/babel", { | ||
"plugins": [ | ||
[ | ||
"styled-jsx-plugin-postcss", | ||
{ | ||
"path": | ||
"[PATH_PREFIX]/postcss.config.js" | ||
} | ||
] | ||
] | ||
}] | ||
] | ||
} | ||
``` | ||
### Example with CRA | ||
@@ -30,0 +50,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
96
1
38587
6
50