build: config emotion css prop

This commit is contained in:
rusconn
2022-04-01 09:17:06 +09:00
parent 127c359b5f
commit da187f04e7
5 changed files with 25 additions and 2 deletions

15
.babelrc Normal file
View File

@@ -0,0 +1,15 @@
// https://emotion.sh/docs/css-prop##babel-preset
{
"presets": [
[
"next/babel",
{
"preset-react": {
"runtime": "automatic",
"importSource": "@emotion/react"
}
}
]
],
"plugins": [["@emotion/babel-plugin"]]
}