Skip to content

Commit

Permalink
Upgrade to new configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
karlhorky authored Nov 18, 2020
1 parent 8a113bc commit 681a441
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions examples/with-emotion/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"presets": [
"next/babel",
["@emotion/babel-preset-css-prop", { "runtime": "automatic" }],
]
[
"next/babel",
{
"preset-react": {
"runtime": "automatic",
"importSource": "@emotion/react"
}
}
]
],
"plugins": ["@emotion/babel-plugin"]
}

0 comments on commit 681a441

Please sign in to comment.