{"action":"created","comment":{"url":"https://api.github.com/repos/esbb48/Kizuna/pulls/comments/91832401","pull_request_review_id":12344990,"id":91832401,"diff_hunk":"@@ -1,56 +1,53 @@\n const HtmlWebpackPlugin = require('html-webpack-plugin');\n-const PORT = process.env.PORT || 3000;\n+const { resolve } = require('path');\n+const webpack = require('webpack');\n \n module.exports = {\n-  devtool: 'cheap-module-eval-source-map',\n   entry: [\n     'react-hot-loader/patch',\n-    `webpack-dev-server/client?http://localhost:${PORT}`,\n+    'webpack-dev-server/client?http://localhost:8080',\n     'webpack/hot/only-dev-server',\n-    './src/index.js',\n+    './index.js',\n   ],\n+  output: {\n+    filename: 'bundle.js',\n+    path: resolve(`${__dirname}/dist`),\n+    publicPath: '/',\n+  },\n+  context: resolve(__dirname, 'src'),\n+  devtool: 'cheap-module-eval-source-map',\n+  devServer: {\n+    hot: true,\n+    contentBase: resolve(__dirname, 'dist'),\n+    publicPath: '/'\n+  },\n   module: {\n     loaders: [\n       {\n-        test: /\\.js(x?)$/,\n+        test: /\\.js$/,\n         exclude: /node_modules/,\n-        loaders: ['babel'],\n+        loaders: ['babel-loader'],\n       }, {\n         test: /\\.(png|jpg|jpeg|gif|svg|woff|woff2|eot)$/,\n-        loader: 'url',\n+        loader: 'url-loader',\n         query: {\n           name: '[path][name].[ext]?[hash]',\n           limit: 500,\n         },\n       }, {\n         test: /\\.scss$/,\n         loaders: [\n-          'style?sourceMap',\n-          'css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]',\n-          'postcss',\n-          'sass?sourceMap',\n+          'style-loader?sourceMap',\n+          'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]',\n+          'postcss-loader',\n+          'sass-loader?sourceMap',\n         ],\n       },\n     ],\n   },\n-  resolve: {\n-    extensions: ['', '.js', '.jsx'],\n-  },\n-  output: {\n-    filename: 'bundle.js',\n-    path: `${__dirname}/dist`,\n-    publicPath: '/',\n-  },\n-  devServer: {\n-    port: PORT,\n-  },\n-  postcss: [\n-    require('autoprefixer'),\n-    require('precss'),\n-  ],\n   plugins: [\n-    new HtmlWebpackPlugin({\n-      template: './src/index.html',\n-    }),\n+    new HtmlWebpackPlugin({ template: './index.html' }),","path":"webpack.config.js","position":78,"original_position":78,"commit_id":"3dcc5266141f53ca9bce3ebbea863114b8581f44","original_commit_id":"3dcc5266141f53ca9bce3ebbea863114b8581f44","user":{"login":"sharils","id":3063067,"avatar_url":"https://avatars.githubusercontent.com/u/3063067?v=3","gravatar_id":"","url":"https://api.github.com/users/sharils","html_url":"https://github.com/sharils","followers_url":"https://api.github.com/users/sharils/followers","following_url":"https://api.github.com/users/sharils/following{/other_user}","gists_url":"https://api.github.com/users/sharils/gists{/gist_id}","starred_url":"https://api.github.com/users/sharils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharils/subscriptions","organizations_url":"https://api.github.com/users/sharils/orgs","repos_url":"https://api.github.com/users/sharils/repos","events_url":"https://api.github.com/users/sharils/events{/privacy}","received_events_url":"https://api.github.com/users/sharils/received_events","type":"User","site_admin":false},"body":"`` index.html `` the file itself is still in `` ./src ``, this is a bug.","created_at":"2016-12-10T09:53:15Z","updated_at":"2016-12-10T09:54:30Z","html_url":"https://github.com/esbb48/Kizuna/pull/9#discussion_r91832401","pull_request_url":"https://api.github.com/repos/esbb48/Kizuna/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/comments/91832401"},"html":{"href":"https://github.com/esbb48/Kizuna/pull/9#discussion_r91832401"},"pull_request":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/esbb48/Kizuna/pulls/9","id":96988185,"html_url":"https://github.com/esbb48/Kizuna/pull/9","diff_url":"https://github.com/esbb48/Kizuna/pull/9.diff","patch_url":"https://github.com/esbb48/Kizuna/pull/9.patch","issue_url":"https://api.github.com/repos/esbb48/Kizuna/issues/9","number":9,"state":"open","locked":false,"title":"Feature/8 ali upgrade package","user":{"login":"esbb48","id":5118200,"avatar_url":"https://avatars.githubusercontent.com/u/5118200?v=3","gravatar_id":"","url":"https://api.github.com/users/esbb48","html_url":"https://github.com/esbb48","followers_url":"https://api.github.com/users/esbb48/followers","following_url":"https://api.github.com/users/esbb48/following{/other_user}","gists_url":"https://api.github.com/users/esbb48/gists{/gist_id}","starred_url":"https://api.github.com/users/esbb48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbb48/subscriptions","organizations_url":"https://api.github.com/users/esbb48/orgs","repos_url":"https://api.github.com/users/esbb48/repos","events_url":"https://api.github.com/users/esbb48/events{/privacy}","received_events_url":"https://api.github.com/users/esbb48/received_events","type":"User","site_admin":false},"body":"close #8 \r\n\r\n## do what\r\n\r\n1. remove `./node_modules/.bin/`\r\n2. upgrade package.json & node & npm\r\n3. 修復 `npm start` & `npm run lint` \r\n","created_at":"2016-12-07T19:14:44Z","updated_at":"2016-12-10T09:54:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67fd1c00cbe924eff77f9f1d6f90c172088f8345","assignee":{"login":"sharils","id":3063067,"avatar_url":"https://avatars.githubusercontent.com/u/3063067?v=3","gravatar_id":"","url":"https://api.github.com/users/sharils","html_url":"https://github.com/sharils","followers_url":"https://api.github.com/users/sharils/followers","following_url":"https://api.github.com/users/sharils/following{/other_user}","gists_url":"https://api.github.com/users/sharils/gists{/gist_id}","starred_url":"https://api.github.com/users/sharils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharils/subscriptions","organizations_url":"https://api.github.com/users/sharils/orgs","repos_url":"https://api.github.com/users/sharils/repos","events_url":"https://api.github.com/users/sharils/events{/privacy}","received_events_url":"https://api.github.com/users/sharils/received_events","type":"User","site_admin":false},"assignees":[{"login":"sharils","id":3063067,"avatar_url":"https://avatars.githubusercontent.com/u/3063067?v=3","gravatar_id":"","url":"https://api.github.com/users/sharils","html_url":"https://github.com/sharils","followers_url":"https://api.github.com/users/sharils/followers","following_url":"https://api.github.com/users/sharils/following{/other_user}","gists_url":"https://api.github.com/users/sharils/gists{/gist_id}","starred_url":"https://api.github.com/users/sharils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharils/subscriptions","organizations_url":"https://api.github.com/users/sharils/orgs","repos_url":"https://api.github.com/users/sharils/repos","events_url":"https://api.github.com/users/sharils/events{/privacy}","received_events_url":"https://api.github.com/users/sharils/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/esbb48/Kizuna/pulls/9/commits","review_comments_url":"https://api.github.com/repos/esbb48/Kizuna/pulls/9/comments","review_comment_url":"https://api.github.com/repos/esbb48/Kizuna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/esbb48/Kizuna/issues/9/comments","statuses_url":"https://api.github.com/repos/esbb48/Kizuna/statuses/3dcc5266141f53ca9bce3ebbea863114b8581f44","head":{"label":"esbb48:feature/8_ali_upgradePackage","ref":"feature/8_ali_upgradePackage","sha":"3dcc5266141f53ca9bce3ebbea863114b8581f44","user":{"login":"esbb48","id":5118200,"avatar_url":"https://avatars.githubusercontent.com/u/5118200?v=3","gravatar_id":"","url":"https://api.github.com/users/esbb48","html_url":"https://github.com/esbb48","followers_url":"https://api.github.com/users/esbb48/followers","following_url":"https://api.github.com/users/esbb48/following{/other_user}","gists_url":"https://api.github.com/users/esbb48/gists{/gist_id}","starred_url":"https://api.github.com/users/esbb48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbb48/subscriptions","organizations_url":"https://api.github.com/users/esbb48/orgs","repos_url":"https://api.github.com/users/esbb48/repos","events_url":"https://api.github.com/users/esbb48/events{/privacy}","received_events_url":"https://api.github.com/users/esbb48/received_events","type":"User","site_admin":false},"repo":{"id":54863375,"name":"Kizuna","full_name":"esbb48/Kizuna","owner":{"login":"esbb48","id":5118200,"avatar_url":"https://avatars.githubusercontent.com/u/5118200?v=3","gravatar_id":"","url":"https://api.github.com/users/esbb48","html_url":"https://github.com/esbb48","followers_url":"https://api.github.com/users/esbb48/followers","following_url":"https://api.github.com/users/esbb48/following{/other_user}","gists_url":"https://api.github.com/users/esbb48/gists{/gist_id}","starred_url":"https://api.github.com/users/esbb48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbb48/subscriptions","organizations_url":"https://api.github.com/users/esbb48/orgs","repos_url":"https://api.github.com/users/esbb48/repos","events_url":"https://api.github.com/users/esbb48/events{/privacy}","received_events_url":"https://api.github.com/users/esbb48/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esbb48/Kizuna","description":"Friendship Game.  For Vote, Rank,  QA ...","fork":false,"url":"https://api.github.com/repos/esbb48/Kizuna","forks_url":"https://api.github.com/repos/esbb48/Kizuna/forks","keys_url":"https://api.github.com/repos/esbb48/Kizuna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esbb48/Kizuna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esbb48/Kizuna/teams","hooks_url":"https://api.github.com/repos/esbb48/Kizuna/hooks","issue_events_url":"https://api.github.com/repos/esbb48/Kizuna/issues/events{/number}","events_url":"https://api.github.com/repos/esbb48/Kizuna/events","assignees_url":"https://api.github.com/repos/esbb48/Kizuna/assignees{/user}","branches_url":"https://api.github.com/repos/esbb48/Kizuna/branches{/branch}","tags_url":"https://api.github.com/repos/esbb48/Kizuna/tags","blobs_url":"https://api.github.com/repos/esbb48/Kizuna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esbb48/Kizuna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esbb48/Kizuna/git/refs{/sha}","trees_url":"https://api.github.com/repos/esbb48/Kizuna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esbb48/Kizuna/statuses/{sha}","languages_url":"https://api.github.com/repos/esbb48/Kizuna/languages","stargazers_url":"https://api.github.com/repos/esbb48/Kizuna/stargazers","contributors_url":"https://api.github.com/repos/esbb48/Kizuna/contributors","subscribers_url":"https://api.github.com/repos/esbb48/Kizuna/subscribers","subscription_url":"https://api.github.com/repos/esbb48/Kizuna/subscription","commits_url":"https://api.github.com/repos/esbb48/Kizuna/commits{/sha}","git_commits_url":"https://api.github.com/repos/esbb48/Kizuna/git/commits{/sha}","comments_url":"https://api.github.com/repos/esbb48/Kizuna/comments{/number}","issue_comment_url":"https://api.github.com/repos/esbb48/Kizuna/issues/comments{/number}","contents_url":"https://api.github.com/repos/esbb48/Kizuna/contents/{+path}","compare_url":"https://api.github.com/repos/esbb48/Kizuna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esbb48/Kizuna/merges","archive_url":"https://api.github.com/repos/esbb48/Kizuna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esbb48/Kizuna/downloads","issues_url":"https://api.github.com/repos/esbb48/Kizuna/issues{/number}","pulls_url":"https://api.github.com/repos/esbb48/Kizuna/pulls{/number}","milestones_url":"https://api.github.com/repos/esbb48/Kizuna/milestones{/number}","notifications_url":"https://api.github.com/repos/esbb48/Kizuna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esbb48/Kizuna/labels{/name}","releases_url":"https://api.github.com/repos/esbb48/Kizuna/releases{/id}","deployments_url":"https://api.github.com/repos/esbb48/Kizuna/deployments","created_at":"2016-03-28T03:40:37Z","updated_at":"2016-08-08T13:36:56Z","pushed_at":"2016-12-08T16:55:20Z","git_url":"git://github.com/esbb48/Kizuna.git","ssh_url":"git@github.com:esbb48/Kizuna.git","clone_url":"https://github.com/esbb48/Kizuna.git","svn_url":"https://github.com/esbb48/Kizuna","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"base":{"label":"esbb48:development","ref":"development","sha":"886284474a3c2e422851d4226be896c261146852","user":{"login":"esbb48","id":5118200,"avatar_url":"https://avatars.githubusercontent.com/u/5118200?v=3","gravatar_id":"","url":"https://api.github.com/users/esbb48","html_url":"https://github.com/esbb48","followers_url":"https://api.github.com/users/esbb48/followers","following_url":"https://api.github.com/users/esbb48/following{/other_user}","gists_url":"https://api.github.com/users/esbb48/gists{/gist_id}","starred_url":"https://api.github.com/users/esbb48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbb48/subscriptions","organizations_url":"https://api.github.com/users/esbb48/orgs","repos_url":"https://api.github.com/users/esbb48/repos","events_url":"https://api.github.com/users/esbb48/events{/privacy}","received_events_url":"https://api.github.com/users/esbb48/received_events","type":"User","site_admin":false},"repo":{"id":54863375,"name":"Kizuna","full_name":"esbb48/Kizuna","owner":{"login":"esbb48","id":5118200,"avatar_url":"https://avatars.githubusercontent.com/u/5118200?v=3","gravatar_id":"","url":"https://api.github.com/users/esbb48","html_url":"https://github.com/esbb48","followers_url":"https://api.github.com/users/esbb48/followers","following_url":"https://api.github.com/users/esbb48/following{/other_user}","gists_url":"https://api.github.com/users/esbb48/gists{/gist_id}","starred_url":"https://api.github.com/users/esbb48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/esbb48/subscriptions","organizations_url":"https://api.github.com/users/esbb48/orgs","repos_url":"https://api.github.com/users/esbb48/repos","events_url":"https://api.github.com/users/esbb48/events{/privacy}","received_events_url":"https://api.github.com/users/esbb48/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/esbb48/Kizuna","description":"Friendship Game.  For Vote, Rank,  QA ...","fork":false,"url":"https://api.github.com/repos/esbb48/Kizuna","forks_url":"https://api.github.com/repos/esbb48/Kizuna/forks","keys_url":"https://api.github.com/repos/esbb48/Kizuna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/esbb48/Kizuna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/esbb48/Kizuna/teams","hooks_url":"https://api.github.com/repos/esbb48/Kizuna/hooks","issue_events_url":"https://api.github.com/repos/esbb48/Kizuna/issues/events{/number}","events_url":"https://api.github.com/repos/esbb48/Kizuna/events","assignees_url":"https://api.github.com/repos/esbb48/Kizuna/assignees{/user}","branches_url":"https://api.github.com/repos/esbb48/Kizuna/branches{/branch}","tags_url":"https://api.github.com/repos/esbb48/Kizuna/tags","blobs_url":"https://api.github.com/repos/esbb48/Kizuna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/esbb48/Kizuna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/esbb48/Kizuna/git/refs{/sha}","trees_url":"https://api.github.com/repos/esbb48/Kizuna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/esbb48/Kizuna/statuses/{sha}","languages_url":"https://api.github.com/repos/esbb48/Kizuna/languages","stargazers_url":"https://api.github.com/repos/esbb48/Kizuna/stargazers","contributors_url":"https://api.github.com/repos/esbb48/Kizuna/contributors","subscribers_url":"https://api.github.com/repos/esbb48/Kizuna/subscribers","subscription_url":"https://api.github.com/repos/esbb48/Kizuna/subscription","commits_url":"https://api.github.com/repos/esbb48/Kizuna/commits{/sha}","git_commits_url":"https://api.github.com/repos/esbb48/Kizuna/git/commits{/sha}","comments_url":"https://api.github.com/repos/esbb48/Kizuna/comments{/number}","issue_comment_url":"https://api.github.com/repos/esbb48/Kizuna/issues/comments{/number}","contents_url":"https://api.github.com/repos/esbb48/Kizuna/contents/{+path}","compare_url":"https://api.github.com/repos/esbb48/Kizuna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/esbb48/Kizuna/merges","archive_url":"https://api.github.com/repos/esbb48/Kizuna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/esbb48/Kizuna/downloads","issues_url":"https://api.github.com/repos/esbb48/Kizuna/issues{/number}","pulls_url":"https://api.github.com/repos/esbb48/Kizuna/pulls{/number}","milestones_url":"https://api.github.com/repos/esbb48/Kizuna/milestones{/number}","notifications_url":"https://api.github.com/repos/esbb48/Kizuna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/esbb48/Kizuna/labels{/name}","releases_url":"https://api.github.com/repos/esbb48/Kizuna/releases{/id}","deployments_url":"https://api.github.com/repos/esbb48/Kizuna/deployments","created_at":"2016-03-28T03:40:37Z","updated_at":"2016-08-08T13:36:56Z","pushed_at":"2016-12-08T16:55:20Z","git_url":"git://github.com/esbb48/Kizuna.git","ssh_url":"git@github.com:esbb48/Kizuna.git","clone_url":"https://github.com/esbb48/Kizuna.git","svn_url":"https://github.com/esbb48/Kizuna","homepage":null,"size":17,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/9"},"html":{"href":"https://github.com/esbb48/Kizuna/pull/9"},"issue":{"href":"https://api.github.com/repos/esbb48/Kizuna/issues/9"},"comments":{"href":"https://api.github.com/repos/esbb48/Kizuna/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/esbb48/Kizuna/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/esbb48/Kizuna/statuses/3dcc5266141f53ca9bce3ebbea863114b8581f44"}}}}
{"actor":{"display_login":"sharils"}}