Created
August 6, 2022 09:49
-
-
Save brionmario/2b2f2b1f6d34abbe5daa9e8e8f976f09 to your computer and use it in GitHub Desktop.
[Blog][babel.config.json] How to fix "Support for the experimental syntax '<OPERATOR>' isn't currently enabled"
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
{ | |
"plugins": [ "@babel/plugin-proposal-logical-assignment-operators" ], | |
"presets": [ | |
[ | |
"babel-preset-gatsby", | |
{ | |
"targets": { | |
"browsers": [ | |
">0.25%", | |
"not dead" | |
] | |
} | |
} | |
] | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment