Web/22-前端工程化/01-Webpack.md
qianguyihao ca8ea46c72 update
2018-05-04 20:36:07 +08:00

47 lines
589 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 关于 Webpack
### WebPack的介绍
- 中文文档:<https://doc.webpack-china.org/concepts/>
### 文本的开发环境
## Webpack4 的升级说明
如果Webpack要更新到4会导致其他的内容也会变化
- 版本变化loader、plugin也要相应升级。
- 配置变化:增加了 module 的配置项,用来区分开发环境和生产环境。
- 插件变化比如webpack 3中的`CommonsChunkPlugin`在4中取消了而是通过...去配置。
参考链接:
- [webpack4升级指北](https://www.imooc.com/article/23555)