첫 커밋
This commit is contained in:
36
.babelrc
Normal file
36
.babelrc
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-react",
|
||||
{
|
||||
"runtime": "automatic"
|
||||
}
|
||||
]
|
||||
],
|
||||
"plugins": [
|
||||
[
|
||||
"@emotion/babel-plugin-jsx-pragmatic",
|
||||
{
|
||||
"export": "jsx",
|
||||
"import": "__to_avoid_prepending_/** @jsxImportSource @emotion/react */",
|
||||
"module": "@emotion/react"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@babel/plugin-transform-react-jsx",
|
||||
{
|
||||
"pragma": "__to_avoid_prepending_/** @jsxImportSource @emotion/react */"
|
||||
}
|
||||
],
|
||||
[
|
||||
"module-resolver",
|
||||
{
|
||||
"root": ["."],
|
||||
"alias": {
|
||||
"~": "./src"
|
||||
}
|
||||
}
|
||||
],
|
||||
["babel-plugin-styled-components"]
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user