file-loader也安装了,图片打包还时出错 求帮助!!!
来源:3-7 webpack对icon-font和图片的处理
慕网老油条丶
2018-08-31
写回答
3回答
-
版本号换成下面的试试: "devDependencies": { "css-loader": "^0.28.1", "extract-text-webpack-plugin": "^1.0.1", "file-loader": "^0.11.1", "html-loader": "^0.4.5", "html-webpack-plugin": "^2.28.0", "style-loader": "^0.17.0", "url-loader": "^0.5.8", "webpack": "^1.15.0", "webpack-dev-server": "^1.16.5" }, "dependencies": { "font-awesome": "^4.7.0", "hogan.js": "^3.0.2" }
00 -
慕网老油条丶
提问者
2018-10-16
嗯,版本号问题!版本号不对很容易出错,这里file-loder和url-loder都要安装,url-loder一定要是@0.5.8版本不然会出错
012018-10-26 -
小锅小锅
2018-10-12
请问你这个问题解决了吗?按照老师的方法?
012018-10-16
相似问题