老师讲的很棒,普通话666的,期待vue+webpack,模块热更新 有一个问题: 压缩图片时,image-webpack-loader 配置后无法压缩,命令行报错: ERROR in ./src/asset/ad.png Module build failed: Error: ϵͳ�Ҳ���ָ����·���� at notFoundError (D:\webpack-demo\node_modules\_cross-spawn@6.0.5@cross-spaw n\lib\enoent.js:6:26)
https://www.npmjs.com/package/image-webpack-loader
options: { bypassOnDebug: true, // webpack@1.x disable: true, // webpack@2.x and newer },
disable:true
大兄弟,你这是没有用npm安装image-webpack-loader加载器,而只是配置了一下image-webpack-loader;
你可以尝试在项目目录下: npm install image-webpack-loader --save-dev