There was an error while loading. Please reload this page.
1 parent 4db1650 commit fe30248Copy full SHA for fe30248
config/webpack/modules/loader.js
@@ -40,7 +40,7 @@ module.exports = (dev) => {
40
loader: 'url-loader',
41
query: {
42
limit: 2000,
43
- publicPath: '../../',
+ publicPath: '/',
44
name: 'assets/[name]-[hash:8].[ext]'
45
}
46
@@ -55,7 +55,7 @@ module.exports = (dev) => {
55
56
57
limit: 1,
58
59
60
61
docs/Update.md
@@ -1,6 +1,8 @@
1
# 更新日志
2
3
## v2.0.0
4
+* 2017年4月8日: <br />
5
+通过 `extract-text-webpack-plugin` 打包的图片资源引用路径错误混乱,针对次问题,将所有图片路径设置为绝对路径。请务必将 `build` 设置为本目录。<br />
6
* 2017年3月17日: <br />
7
修复资源引用路径 `\\` 错误<br />
8
修复require.ensure资源引用错误<br />
0 commit comments