Created
April 24, 2019 14:20
-
-
Save vasylpb/8077b41c2053ceee6e6c30f85db66087 to your computer and use it in GitHub Desktop.
babel configuration for react
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
{ | |
"presets": [ | |
"@babel/preset-react", | |
["@babel/preset-env", { | |
"targets": "> 0.25%, not dead", | |
}] | |
], | |
"plugins": [ | |
"add-module-exports", | |
"transform-react-jsx", | |
"@babel/plugin-proposal-class-properties", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment