sample react app with webpack code example Example: add webpack to react project tutorial npm i webpack webpack-cli webpack-dev-server --save-dev