update webpack-cli to v4 laravel code example Example: install webpack cli npm install --save-dev webpack-cli