原因: node v10版本以上才支持正式表达式:/\?(.*)/ 解决: 安装老版本的image-webpack-loader npm install image-webpack-loader@6.0.0 --save-dev