0

react-scripts v4.0.3 installs webpack4.44.2 while doing npm i

I want it use webpack5 in my project if I install it explicitly, react gives dependency tree error.

How can I use webpack5 then?

2
  • 2
    you need to eject or wait for they upgrades webpack to v5 Commented Nov 9, 2021 at 3:44
  • 1
    I've not used it in a while but you may be able to do something with Rescripts without ejecting. Commented Nov 9, 2021 at 4:24

0

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.