webpack4.0之后 命令行单独分出一个包,webpack-cli原来的打包命令:webpack已经不能使用解决方案如下:需要先执行:npm install webpack-cli -g然后在执行:webpack