Open sorrycc opened 6 years ago
sideEffect: false
<img>
<img-2>
可以在 https://github.com/sorrycc/zaobao/issues/41 讨论或补充。
@sorrycc 为什么会报错呢
用法错了吧,看他的文档。
早报 @ 2018.4.27
sideEffect: false
配置,升级 webpack@4 需要提上日程了,bundle size 可以进一步减少,https://github.com/ReactTraining/react-router/releases/tag/v4.3.0-rc.3<img>
换成<img-2>
就能获得懒加载能力,https://github.com/RevillWeb/img-2可以在 https://github.com/sorrycc/zaobao/issues/41 讨论或补充。