Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
forzeny authored Jan 5, 2018
1 parent f83ccc7 commit 8a6c45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $ yarn run dev
### 打包Hybrid
* 分块:根据打包后的[分析报告](https://www.npmjs.com/package/webpack-bundle-analyzer)进行优化
* 分块:根据打包后的[分析报告](https://www.npmjs.com/package/webpack-bundle-analyzer)进行优化
* 处理vendor:一般都是这部分体积大,相关类库一般不会变化,所以单独打包和其它文件一样加上chunkhash辨别文件是否变化,同时把manifest抽离出来,保证manifest变化不影响vendor变化导致缓存失效,这样默认就是304,现在我通过node把他设置成强缓存了....
* 采用路由懒加载
* 部分图片处理为base64编码形式
Expand Down

0 comments on commit 8a6c45c

Please sign in to comment.