$ yarn add --dev @babel/plugin-proposal-decorators
Created
May 3, 2019 04:12
-
-
Save JohnKim/39bbb8a7b19557c5e23a648279473458 to your computer and use it in GitHub Desktop.
Support for the experimental syntax 'decorators-legacy' 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
module.exports = { | |
presets: ['module:metro-react-native-babel-preset'], | |
plugins: [ | |
["@babel/plugin-proposal-decorators", { "legacy": true }] | |
], | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment