https://github.com/lfb/understand-webpack
理解webpack4笔记。Understand webpack4.0 notes.
https://github.com/lfb/understand-webpack
webpack webpack4
Last synced: 23 days ago
JSON representation
理解webpack4笔记。Understand webpack4.0 notes.
- Host: GitHub
- URL: https://github.com/lfb/understand-webpack
- Owner: lfb
- License: mit
- Created: 2018-12-17T07:27:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-18T07:41:14.000Z (over 7 years ago)
- Last Synced: 2025-08-17T08:35:19.179Z (10 months ago)
- Topics: webpack, webpack4
- Language: JavaScript
- Homepage:
- Size: 162 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#### 为什么前端需要构建?
- 开发复杂化
- 框架去中心化
- 语言编译化
- 开发模块化
#### 为什么webpack?
- 三大框架的脚手架基于webpack,如:vue-cli、react-starter、angular-cli
- 代码分割:code-splitting
- 天生的模块化
#### 项目的node、npm、webpack版本
```
➜ understand-webpack git:(master) node -v
v8.9.3
➜ understand-webpack git:(master) npm -v
5.5.1
➜ understand-webpack git:(master) webpack -v
4.5.0
```
#### Issues
- [学习webpack4的mode](https://github.com/liangfengbo/understand-webpack/issues/1)
- [webpack编译ES6](https://github.com/liangfengbo/understand-webpack/issues/2)
- [webpack4-tree-shaking(代码分割) ](https://github.com/liangfengbo/understand-webpack/issues/3)