- 关于文档
- 1. 概览
- 开始
- 2.1. 动机
- 2.2. webpack是什么
- 2.3. 安装
- 2.4. 用法
- 2.5. Require Modules
- 2.6. Vendor Modules
- 2.7. 使用 Loaders
- 2.8. 使用 Plugins
- 2.9. 工具
- 2.10. 故障处理
- 教程与例子
- 指南
- webpack with
- Lists
- Development
- 7.1. Changelog
- 7.2. Roadmap
- 7.3. Ideas
- 7.4. Contributing
- Published with GitBook
webpack doc
2
(for the most up to date version see https://docs.google.com/document/d/1tRc0MzvRdGK7EbG2LRW8vSyoxKhR_EvRUz3AQRyFZso/edit?pli=1)
- native ES6 import, export and System.import
- Tree Shaking for ES6
- Needs Promise polyfill in old browsers
- chunk error handling
- Many plugins now take options objects instead of multiple parameters
- config can be a function and —env
- Removed deprecated argument configs (except with one argument shortcut if possible)
- loaders now match resourcePath instead of resource with query
- webpack config can return a Promise
- -p sets NODE_ENV = “production”
- the uglifyjs plugin no longer minimize other assets
- there is the LoaderOptionsPlugin now
- webpackfile.js is now also supported
- added HashedModuleIdsPlugin
1.1
- documentation
1.0
beta: end 2013, stable: early 2014
- Bugfixes
- updates to loaders
0.11 - 0.12
- Hot Code Replacement
- Some more cool features