5个核心概念

  1. entry 入口:以哪个文件为起点
  2. output 出口:打包结果放到哪里
  3. loader 处理非js文件
  4. plugins 处理打包每一阶段的结果,如压缩、优化等
  5. mode 模式:development、production