webpack和webpack-cli要求是要全局安装,如果需要使用uglifyjs-webpack-plugin插件压缩js,
则需要项目内安装webpack和webpack-cli,
且项目名称不能为"webpack",
npm install -D webpack-cli webpack