How to extend babel config #10705
Unanswered
Marcus-Rise
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem
Seems to CRA webpack config and babel docs it's impossible to extend babel config without eject
How can I use additional babel plugins, such as @babel/plugin-proposal-decorators?
One of the existing third-part solution
Now I have the only way to extend config - using react-app-rewired and customize-cra:
package.json
config-overrides.js
.babelrc
Why I need it?
I usually use inversify and I want to use decorators like in this example
Beta Was this translation helpful? Give feedback.
All reactions