{"action":"opened","issue":{"url":"https://api.github.com/repos/epooren/blog/issues/12","labels_url":"https://api.github.com/repos/epooren/blog/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/epooren/blog/issues/12/comments","events_url":"https://api.github.com/repos/epooren/blog/issues/12/events","html_url":"https://github.com/epooren/blog/issues/12","id":97192590,"number":12,"title":"webpack-home","user":{"login":"epooren","id":5410503,"avatar_url":"https://avatars.githubusercontent.com/u/5410503?v=3","gravatar_id":"","url":"https://api.github.com/users/epooren","html_url":"https://github.com/epooren","followers_url":"https://api.github.com/users/epooren/followers","following_url":"https://api.github.com/users/epooren/following{/other_user}","gists_url":"https://api.github.com/users/epooren/gists{/gist_id}","starred_url":"https://api.github.com/users/epooren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epooren/subscriptions","organizations_url":"https://api.github.com/users/epooren/orgs","repos_url":"https://api.github.com/users/epooren/repos","events_url":"https://api.github.com/users/epooren/events{/privacy}","received_events_url":"https://api.github.com/users/epooren/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/epooren/blog/labels/webpack","name":"webpack","color":"5319e7"},{"url":"https://api.github.com/repos/epooren/blog/labels/%E7%BF%BB%E8%AF%91","name":"翻译","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-25T05:23:10Z","updated_at":"2015-07-25T05:23:10Z","closed_at":null,"body":"# 欢迎阅读webpack文档\r\n\r\n在左侧边栏浏览文档目录\r\n\r\n如果你刚认识webpack，建议从本页内容开始阅读，或者从左侧的\r\nGetting started章节开始\r\n\r\n\r\n---\r\n\r\n## 插件（Plugins）\r\n\r\nwebpack拥有丰富的[插件](http://webpack.github.io/docs/plugins.html)\r\n接口。webpack自身集成了很多插件，提供了很多特性，\r\n这些插件都是用这些接口开发的。插件机制使webpack更灵活。\r\n\r\n\r\n## 运行效率（Performance）\r\n\r\nwebpack使用异步I/O，而且拥有多级缓存。这使webpack运行很快，代码增长性\r\n编译更是快的不可思议。\r\n\r\n\r\n## 装载器（Loaders）\r\n\r\nwebpack通过[装载器](http://webpack.github.io/docs/loaders.html)\r\n支持在webpack进程前预处理文件（pre-processing files）。这使你可以打包\r\n任何资源，而不仅仅是JS。为自己定制运行在node.js的装载器是非常简单的事。\r\n\r\n\r\n## 支持模块（Support）\r\n\r\nwebpack支持[AMD]()和[CommonJs]()模块系统。它非常聪明的将你的代码解析成AST，\r\n甚至拥有计算简单表达式的计算引擎。这样可以支持大部分已存在的库。\r\n\r\n\r\n## 切割代码（Code Splitting）\r\n\r\nwebpack可以将基础代码[切割]()为多个代码块，实现按需加载。这样可以减少初始加载时间。\r\n\r\n\r\n## 优化（Optimizations）\r\n\r\nwebpack能从各方面[优化]()，减少代码量。也能通过hashes避免[请求缓存]()。\r\n\r\n\r\n## 开发工具（Development Tools）\r\n\r\nwebpack支持SourceUrls和SourceMaps方便debug。也可以监视文件变化，通过\r\n[development middleware]()和[development server]实现自动重载页面。\r\n\r\n\r\n## 多个目标（Multiple targets）\r\n\r\nwebpack注重web端，但也支持[WebWorkers]()和node.js的打包 工作。"}}