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