Skip to content

Commit

Permalink
feat: ✨ 修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
enson0131 committed Feb 4, 2024
1 parent 56b3115 commit f147db4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/guide/webpack/构建流程.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ webpack 的工作流程是一个串行的过程,从启动到结束会依次执
## 常见的问题

### Module、Chunk、Bundle 的区别
bundle: webpack 打包出来的文件
chunk: 代码块,一个 chunk 可以由多个模块组合而成

module: 模块,一个模块就是一个文件

chunk: 代码块,一个 chunk 可以由多个模块组合而成

bundle: webpack 打包出来的文件

### Loader 和 Plugin

loader 是一个加载器,让 webpack 拥有加载和解析非 JavaScript 文件的能力
Expand Down

0 comments on commit f147db4

Please sign in to comment.