Created
April 3, 2022 22:04
-
-
Save JajoScript/c7b2cfc07f916cebb00401b9d0639a97 to your computer and use it in GitHub Desktop.
.babelrc standard react app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"plugins": [ | |
["module-resolver", { | |
"root": ["./src"], | |
"alias": { | |
"@adapters": "./src/adapters/", | |
"@app": "./src/app/", | |
"@assets": "./src/assets/", | |
"@components": "./src/components/", | |
"@contexts": "./src/contexts/", | |
"@hooks": "./src/hooks/", | |
"@interceptors": "./src/interceptors/", | |
"@models": "./src/models/", | |
"@pages": "./src/pages/", | |
"@redux": "./src/redux/", | |
"@services": "./src/services/", | |
"@styled-components": "./src/styled-components/", | |
"@styles": "./src/styles/", | |
"@utilities": "./src/utilities/" | |
} | |
}] | |
], | |
"presets": [ | |
"@babel/preset-env", | |
"@babel/preset-react" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment