Skip to content
理解webpack4笔记。Understand webpack4.0 notes.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lesson-1-mode
lesson-2-es6
lesson-3-tree-shaking
lesson-4-tree-shaking-test
.gitignore
LICENSE
README.md

README.md

Understand Webpack

Build Status Coverage Status

为什么前端需要构建?

  • 开发复杂化
  • 框架去中心化
  • 语言编译化
  • 开发模块化

为什么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

You can’t perform that action at this time.