I ran:
npm run eject
on a create-react-app and it didn't generate webpack conf files. I was expecting two files something like this:
webpack.config.dev.js
webpack.config.prod.js
how do we generate those files or do we have to manually generate?
These files ARE generated, they get placed in the config folder and are under the name ' webpack.config.js'. If they are not being generated, make sure to update your create-react-app command.