Setting up react from scratch without using CRA Install react & react-dom npm install --save react react-dom Install webpack npm install --save-dev webpack webpack-cli webpack-dev-server html-webpack-plugin Install babel npm install --save-dev @babel/core @babel/preset-env @babel/preset-react babel-loader configure webpack using webpack.config.js Also configure babel using .babelrc