Closed morwin10 closed 6 years ago
You will have to eject the create-react-app
in order to add babel plugins
@letorruella is correct
@morwin10 there are few other options, like react-app-rewired.
Personally I use module-alias package and modify webpack config to allow .babelrc
file in root directory. Then I modify all babel configurations as I want.
//CC @letorruella
I tried to do that but I get
'pug' is not defined no-undef
I copied these lines to
package.json
like that