webpack打包报错:TypeError: compiler.getInfrastructureLogger is not a function z开心开心 2022-10-22 701 阅读1分钟 webpack-cli的版本太低,更新版本即可。 npm install webpack@5.42.1 webpack-cli@4.10.0 -D