You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Older versions of webpack have `plugins` on `loader.query` instead of `loader.options`.
46
+
constoptions=loader.options||loader.query
47
+
options.plugins= [['styled-jsx/babel', {
48
+
'plugins': ['styled-jsx-plugin-postcss']
49
+
}]].concat(options.plugins|| [])
50
+
return config
51
+
}
52
+
```
53
+
54
+
_Note: Please follow their instructions on how to set up build & test scripts, and make sure you have a correctly formatted `postcss.config.js` as well_.
55
+
56
+
28
57
#### Notes
29
58
30
59
`styled-jsx-plugin-postcss` uses `styled-jsx`'s plugin system which is supported
@@ -39,8 +68,9 @@ therefore you may want to refer to their docs to learn more about
39
68
40
69
## Contributions
41
70
42
-
Although a _Proof Of Concept_ plugin, **PRs and contributions are welcome!** We
43
-
aim to drive development of this plugin through community contributions.
71
+
**PRs and contributions are welcome!**
72
+
73
+
We aim to drive development of this plugin through community contributions.
0 commit comments