-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
31 lines (31 loc) · 867 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"presets": [
"@babel/preset-env",
"@babel/preset-react",
"@emotion/babel-preset-css-prop"
],
"plugins": [
"react-hot-loader/babel",
[
"module-resolver",
{
"extensions": [
".js",
".jsx"
],
"alias": {
"^@atoms/(.+)": "./src/js/components/atoms/\\1",
"^@molecules/(.+)": "./src/js/components/molecules/\\1",
"^@organisms/(.+)": "./src/js/components/organisms/\\1",
"^@pages/(.+)": "./src/js/components/pages/\\1",
"^@templates/(.+)": "./src/js/components/templates/\\1",
"^@store/(.+)": "./src/js/store/\\1",
"^@store$": "./src/js/store/store.js",
"^@shared/(.+)": "./src/js/shared/\\1",
"^@api/(.+)": "./src/js/api/\\1",
"^@api$": "./src/js/api/index.js"
}
}
]
]
}