Commit f9b98e6c authored by Zack Tanner's avatar Zack Tanner Committed by Tim Neutkens

SSR for styled-components babel plugin (fixes #5988) (#6001)

Enables SSR for styled-components babel-plugin to prevent HTML attribute mismatch warnings during rehydration.
parent 22f90098
{
"presets": [
"next/babel"
],
"plugins": [
"styled-components"
]
"presets": ["next/babel"],
"plugins": [["styled-components", { "ssr": true }]]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment