Created
February 23, 2018 23:43
-
-
Save maddrag0n/3d054c8eb261627af4b95092c52689f1 to your computer and use it in GitHub Desktop.
babel config for ReactJS
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
{ | |
"presets": [ | |
"stage-0", | |
"env", | |
"react", | |
"flow" | |
], | |
"plugins": [ | |
"add-module-exports", | |
"lodash", | |
"transform-runtime", | |
"transform-class-properties", | |
"transform-object-rest-spread", | |
[ | |
"module-resolver", { | |
"root": [ "./" ], | |
"alias": { | |
"services": "./src/app/services", | |
"tools": "./src/tools", | |
"components": "./src/app/components", | |
"containers": "./src/app/containers", | |
"styles": "./src/app/styles", | |
"config": "./src/config", | |
"server": "./src/server" | |
} | |
} | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment