Created
January 3, 2021 13:25
-
-
Save LUN7/ca59f53f93e214c27a2cdaefc087f09c to your computer and use it in GitHub Desktop.
react babel config
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: [ | |
[ | |
"@babel/preset-env", | |
{ | |
modules: false, | |
targets: { | |
browsers: [ | |
"last 2 Chrome versions", | |
"last 2 Firefox versions", | |
"last 2 Safari versions", | |
"last 2 iOS versions", | |
"last 2 Android versions", | |
"last 2 ChromeAndroid versions", | |
], | |
}, | |
}, | |
], | |
"@babel/preset-react", | |
], | |
plugins: ["@babel/plugin-proposal-class-properties"], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment