Skip to content

Instantly share code, notes, and snippets.

@JajoScript
Created April 3, 2022 22:04
Show Gist options
  • Save JajoScript/c7b2cfc07f916cebb00401b9d0639a97 to your computer and use it in GitHub Desktop.
Save JajoScript/c7b2cfc07f916cebb00401b9d0639a97 to your computer and use it in GitHub Desktop.
.babelrc standard react app
{
"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