{"action":"opened","issue":{"url":"https://api.github.com/repos/tang119/webpack/issues/1","repository_url":"https://api.github.com/repos/tang119/webpack","labels_url":"https://api.github.com/repos/tang119/webpack/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/tang119/webpack/issues/1/comments","events_url":"https://api.github.com/repos/tang119/webpack/issues/1/events","html_url":"https://github.com/tang119/webpack/issues/1","id":357200952,"node_id":"MDU6SXNzdWUzNTcyMDA5NTI=","number":1,"title":"安装","user":{"login":"tang119","id":18493352,"node_id":"MDQ6VXNlcjE4NDkzMzUy","avatar_url":"https://avatars2.githubusercontent.com/u/18493352?v=4","gravatar_id":"","url":"https://api.github.com/users/tang119","html_url":"https://github.com/tang119","followers_url":"https://api.github.com/users/tang119/followers","following_url":"https://api.github.com/users/tang119/following{/other_user}","gists_url":"https://api.github.com/users/tang119/gists{/gist_id}","starred_url":"https://api.github.com/users/tang119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tang119/subscriptions","organizations_url":"https://api.github.com/users/tang119/orgs","repos_url":"https://api.github.com/users/tang119/repos","events_url":"https://api.github.com/users/tang119/events{/privacy}","received_events_url":"https://api.github.com/users/tang119/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T12:15:16Z","updated_at":"2018-09-05T12:15:16Z","closed_at":null,"author_association":"OWNER","body":"## 安装\r\n\r\n### 1.基本安装\r\n- 初始化 npm：npm init -y\r\n- 安装 webpack-cli：npm install webpack webpack-cli --save-dev\r\n\r\n我们还需要调整 package.json 文件，以便确保我们安装包是私有的(private)，并且移除 main 入口。\r\n![image](https://user-images.githubusercontent.com/18493352/45091117-0a176d00-b144-11e8-979b-29042db1a85e.png)\r\n\r\n### 创建bundle文件\r\n将“源”代码(/src)从我们的“分发”代码(/dist)中分离出来。\r\n要在 index.js 中打包 lodash 依赖，我们需要在本地安装 library：npm install --save lodash\r\n"}}
{"actor":{"display_login":"tang119"}}