feflow / feflow/builder-webpack3

webpack打包优化记录点

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### bundle size 优化
- 公共Lib包通过commonsChunkPlugin
- DllPlugin 尝试
- imagemin-webpack-plugin

### 构建速度优化
- Paralle Uglify
- 升级到 webpack 4(主要是Node 8底层编译器对JS的优化性能大幅提升)

### 页面性能优化
- Code Split
- 首屏加载和按需加载,非首屏内容滚屏加载,保证首屏内容最小化

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.