setup react with webpack and babel code example Example: add webpack to react project tutorial npm i webpack webpack-cli webpack-dev-server --save-dev