Closed smmoosavi closed 7 years ago
I read your code and I can't find how decorator added to babel
I find this code in customizers.js file and how getCustomConfig function use toArray value. But I can't find where babelPlugins variable used.
customizers.js
getCustomConfig
toArray
babelPlugins
can you help me I find where babelPlugins value added to babel config?
The point of this fork is to add decorators by just adding: REACT_APP_DECORATORS=true to an .env file in your project root. You don't have to mess with babel.
REACT_APP_DECORATORS=true
I read your code and I can't find how decorator added to babel
I find this code in
customizers.js
file and howgetCustomConfig
function usetoArray
value. But I can't find wherebabelPlugins
variable used.can you help me I find where
babelPlugins
value added to babel config?