1

I'm creating a React app using create-react-app but I want to add some plugins to webpack like:

  • image-webpack-loader
  • terser-webpack-plugin

and some others but I don't want to eject my app. Is there any other option I can use to add those plugins?

mgarcia
  • 5,669
  • 3
  • 16
  • 35

1 Answers1

1

If you don't want to eject there are tools like craco which let you override CRA's webpack config as well as other configs (babel, jest, ...).

AC3
  • 335
  • 1
  • 4
  • 20