ou need to install 'webpack-cli' to use webpack via CLI. code example Example: install webpack cli npm install --save-dev webpack-cli