mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Enables SSR for styled-components babel-plugin to prevent HTML attribute mismatch warnings during rehydration.
This commit is contained in:
parent
22f9009816
commit
f9b98e6cf7
|
@ -1,8 +1,4 @@
|
||||||
{
|
{
|
||||||
"presets": [
|
"presets": ["next/babel"],
|
||||||
"next/babel"
|
"plugins": [["styled-components", { "ssr": true }]]
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"styled-components"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue