I have my custom webpack configuration for react, here is the link of my repository: https://github.com/react-custom-projects/webpack-react-boilerplate
I'm trying to upgrade react and react-dom from v17 to v18 but after trying to update my index.jsx file from:
To:
I get the error of module not found (react-dom/client).

Here's the versions of react && react-dom in package.json:


