Check webpack 4 upgrade and configuration
https://www.valentinog.com/blog/react-webpack-babel/ https://docs.mobify.com/progressive-web/latest/upgrades/webpack-4/
helping me on SSR https://medium.freecodecamp.org/server-side-rendering-your-react-app-in-three-simple-steps-7a82b95db82e