Prevent corrupted styled-jsx styles in production.
See: https://github.com/zeit/styled-jsx/issues/602
This commit is contained in:
parent
6b68f79e42
commit
8952faff28
11
app/.babelrc
11
app/.babelrc
@ -1,4 +1,13 @@
|
||||
{
|
||||
"presets": ["next/babel"],
|
||||
"presets": [
|
||||
[
|
||||
"next/babel",
|
||||
{
|
||||
"styled-jsx": {
|
||||
"optimizeForSpeed": false
|
||||
}
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": ["transform-inline-environment-variables", "graphql-tag"]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user