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?

1 Answer 1

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, ...).

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.