styled-jsx-plugin-postcss-v2
v1.0.1
Published
Install this package first.
Downloads
2
Readme
Usage
Install this package first.
npm install --save styled-jsx-plugin-postcss-v2
Next, add styled-jsx-plugin-postcss-v2
to the styled-jsx
's plugins
in your
babel configuration:
{
"plugins": [
["styled-jsx/babel", { "plugins": ["styled-jsx-plugin-postcss-v2"] }]
]
}
With config:
{
"plugins": [
["styled-jsx/babel", {
"plugins": [
[
"styled-jsx-plugin-postcss-v2",
{
"path":
"[PATH_PREFIX]/postcss.config.js"
}
]
]
}]
]
}