webpack config js file example for react Example: add webpack to react project tutorial npm i webpack webpack-cli webpack-dev-server --save-dev