{"action":"created","comment":{"url":"https://api.github.com/repos/codetain/base_react_template/pulls/comments/166933675","pull_request_review_id":95072413,"id":166933675,"diff_hunk":"@@ -0,0 +1,80 @@\n+import config            from 'config';\n+import webpack           from 'webpack';\n+import HtmlWebpackPlugin from 'html-webpack-plugin';\n+import ProgressBarPlugin from 'progress-bar-webpack-plugin';\n+import getDefaultConfig  from './webpack.default.config';\n+import CopyWebpackPlugin from 'copy-webpack-plugin';\n+\n+require('bundle-loader');\n+\n+const { webpack_paths: { entryPath, htmlPath, buildPath } } = config;\n+const defaultConfig = getDefaultConfig(true);\n+\n+export default {\n+  ...defaultConfig,\n+  bail: true,\n+  devtool: 'cheap-module-source-map',\n+  entry: {\n+    main: entryPath,\n+    vendor: [\n+      'axios', 'classnames', 'i18next', 'i18next-browser-languagedetector', 'i18next-xhr-backend',\n+      'material-ui', 'mobx', 'mobx-react', 'react', 'react-click-outside', 'react-cookies', 'react-dom',\n+      'react-i18next', 'react-router-dom', 'react-tap-event-plugin', 'lodash', 'moment'\n+    ]\n+  },\n+  output: {\n+    path: buildPath,\n+    filename: 'static/js/[name].[chunkhash:8].js',\n+    chunkFilename: 'static/js/[name].[chunkhash:8].chunk.js',\n+    publicPath: '/'\n+  },\n+  resolve: {\n+    extensions: ['.js', '.jsx', '.json']\n+  },\n+  plugins: [\n+    new ProgressBarPlugin(),\n+    new CopyWebpackPlugin([\n+      {\n+        from: 'frontend/images',\n+        to: 'static/media',\n+        force: true\n+      }\n+    ]), //to delete after remove not imported images","path":"backend/src/config/webpack/webpack.prod.config.js","position":42,"original_position":42,"commit_id":"08ce9ba873437ad45db5546b935e5933a3ec010a","original_commit_id":"08ce9ba873437ad45db5546b935e5933a3ec010a","user":{"login":"Lervana","id":8127768,"avatar_url":"https://avatars1.githubusercontent.com/u/8127768?v=4","gravatar_id":"","url":"https://api.github.com/users/Lervana","html_url":"https://github.com/Lervana","followers_url":"https://api.github.com/users/Lervana/followers","following_url":"https://api.github.com/users/Lervana/following{/other_user}","gists_url":"https://api.github.com/users/Lervana/gists{/gist_id}","starred_url":"https://api.github.com/users/Lervana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lervana/subscriptions","organizations_url":"https://api.github.com/users/Lervana/orgs","repos_url":"https://api.github.com/users/Lervana/repos","events_url":"https://api.github.com/users/Lervana/events{/privacy}","received_events_url":"https://api.github.com/users/Lervana/received_events","type":"User","site_admin":false},"body":"I think that for template copy-webpack-plugin is unnecessary","created_at":"2018-02-08T13:34:01Z","updated_at":"2018-02-08T13:34:34Z","html_url":"https://github.com/codetain/base_react_template/pull/1#discussion_r166933675","pull_request_url":"https://api.github.com/repos/codetain/base_react_template/pulls/1","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/comments/166933675"},"html":{"href":"https://github.com/codetain/base_react_template/pull/1#discussion_r166933675"},"pull_request":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/codetain/base_react_template/pulls/1","id":167971314,"html_url":"https://github.com/codetain/base_react_template/pull/1","diff_url":"https://github.com/codetain/base_react_template/pull/1.diff","patch_url":"https://github.com/codetain/base_react_template/pull/1.patch","issue_url":"https://api.github.com/repos/codetain/base_react_template/issues/1","number":1,"state":"open","locked":false,"title":"Base  template updates","user":{"login":"norberdo","id":5214156,"avatar_url":"https://avatars2.githubusercontent.com/u/5214156?v=4","gravatar_id":"","url":"https://api.github.com/users/norberdo","html_url":"https://github.com/norberdo","followers_url":"https://api.github.com/users/norberdo/followers","following_url":"https://api.github.com/users/norberdo/following{/other_user}","gists_url":"https://api.github.com/users/norberdo/gists{/gist_id}","starred_url":"https://api.github.com/users/norberdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/norberdo/subscriptions","organizations_url":"https://api.github.com/users/norberdo/orgs","repos_url":"https://api.github.com/users/norberdo/repos","events_url":"https://api.github.com/users/norberdo/events{/privacy}","received_events_url":"https://api.github.com/users/norberdo/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-08T13:27:48Z","updated_at":"2018-02-08T13:34:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"faf37c8eacad658a2865dc4c7c4fee5fb962504a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/codetain/base_react_template/pulls/1/commits","review_comments_url":"https://api.github.com/repos/codetain/base_react_template/pulls/1/comments","review_comment_url":"https://api.github.com/repos/codetain/base_react_template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codetain/base_react_template/issues/1/comments","statuses_url":"https://api.github.com/repos/codetain/base_react_template/statuses/08ce9ba873437ad45db5546b935e5933a3ec010a","head":{"label":"codetain:updates","ref":"updates","sha":"08ce9ba873437ad45db5546b935e5933a3ec010a","user":{"login":"codetain","id":15344955,"avatar_url":"https://avatars0.githubusercontent.com/u/15344955?v=4","gravatar_id":"","url":"https://api.github.com/users/codetain","html_url":"https://github.com/codetain","followers_url":"https://api.github.com/users/codetain/followers","following_url":"https://api.github.com/users/codetain/following{/other_user}","gists_url":"https://api.github.com/users/codetain/gists{/gist_id}","starred_url":"https://api.github.com/users/codetain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codetain/subscriptions","organizations_url":"https://api.github.com/users/codetain/orgs","repos_url":"https://api.github.com/users/codetain/repos","events_url":"https://api.github.com/users/codetain/events{/privacy}","received_events_url":"https://api.github.com/users/codetain/received_events","type":"Organization","site_admin":false},"repo":{"id":113026422,"name":"base_react_template","full_name":"codetain/base_react_template","owner":{"login":"codetain","id":15344955,"avatar_url":"https://avatars0.githubusercontent.com/u/15344955?v=4","gravatar_id":"","url":"https://api.github.com/users/codetain","html_url":"https://github.com/codetain","followers_url":"https://api.github.com/users/codetain/followers","following_url":"https://api.github.com/users/codetain/following{/other_user}","gists_url":"https://api.github.com/users/codetain/gists{/gist_id}","starred_url":"https://api.github.com/users/codetain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codetain/subscriptions","organizations_url":"https://api.github.com/users/codetain/orgs","repos_url":"https://api.github.com/users/codetain/repos","events_url":"https://api.github.com/users/codetain/events{/privacy}","received_events_url":"https://api.github.com/users/codetain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codetain/base_react_template","description":null,"fork":false,"url":"https://api.github.com/repos/codetain/base_react_template","forks_url":"https://api.github.com/repos/codetain/base_react_template/forks","keys_url":"https://api.github.com/repos/codetain/base_react_template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codetain/base_react_template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codetain/base_react_template/teams","hooks_url":"https://api.github.com/repos/codetain/base_react_template/hooks","issue_events_url":"https://api.github.com/repos/codetain/base_react_template/issues/events{/number}","events_url":"https://api.github.com/repos/codetain/base_react_template/events","assignees_url":"https://api.github.com/repos/codetain/base_react_template/assignees{/user}","branches_url":"https://api.github.com/repos/codetain/base_react_template/branches{/branch}","tags_url":"https://api.github.com/repos/codetain/base_react_template/tags","blobs_url":"https://api.github.com/repos/codetain/base_react_template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codetain/base_react_template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codetain/base_react_template/git/refs{/sha}","trees_url":"https://api.github.com/repos/codetain/base_react_template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codetain/base_react_template/statuses/{sha}","languages_url":"https://api.github.com/repos/codetain/base_react_template/languages","stargazers_url":"https://api.github.com/repos/codetain/base_react_template/stargazers","contributors_url":"https://api.github.com/repos/codetain/base_react_template/contributors","subscribers_url":"https://api.github.com/repos/codetain/base_react_template/subscribers","subscription_url":"https://api.github.com/repos/codetain/base_react_template/subscription","commits_url":"https://api.github.com/repos/codetain/base_react_template/commits{/sha}","git_commits_url":"https://api.github.com/repos/codetain/base_react_template/git/commits{/sha}","comments_url":"https://api.github.com/repos/codetain/base_react_template/comments{/number}","issue_comment_url":"https://api.github.com/repos/codetain/base_react_template/issues/comments{/number}","contents_url":"https://api.github.com/repos/codetain/base_react_template/contents/{+path}","compare_url":"https://api.github.com/repos/codetain/base_react_template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codetain/base_react_template/merges","archive_url":"https://api.github.com/repos/codetain/base_react_template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codetain/base_react_template/downloads","issues_url":"https://api.github.com/repos/codetain/base_react_template/issues{/number}","pulls_url":"https://api.github.com/repos/codetain/base_react_template/pulls{/number}","milestones_url":"https://api.github.com/repos/codetain/base_react_template/milestones{/number}","notifications_url":"https://api.github.com/repos/codetain/base_react_template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codetain/base_react_template/labels{/name}","releases_url":"https://api.github.com/repos/codetain/base_react_template/releases{/id}","deployments_url":"https://api.github.com/repos/codetain/base_react_template/deployments","created_at":"2017-12-04T10:05:50Z","updated_at":"2017-12-04T12:25:57Z","pushed_at":"2018-02-08T13:27:50Z","git_url":"git://github.com/codetain/base_react_template.git","ssh_url":"git@github.com:codetain/base_react_template.git","clone_url":"https://github.com/codetain/base_react_template.git","svn_url":"https://github.com/codetain/base_react_template","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"codetain:master","ref":"master","sha":"143e1914a076f539ddba94992bfd65a227f43700","user":{"login":"codetain","id":15344955,"avatar_url":"https://avatars0.githubusercontent.com/u/15344955?v=4","gravatar_id":"","url":"https://api.github.com/users/codetain","html_url":"https://github.com/codetain","followers_url":"https://api.github.com/users/codetain/followers","following_url":"https://api.github.com/users/codetain/following{/other_user}","gists_url":"https://api.github.com/users/codetain/gists{/gist_id}","starred_url":"https://api.github.com/users/codetain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codetain/subscriptions","organizations_url":"https://api.github.com/users/codetain/orgs","repos_url":"https://api.github.com/users/codetain/repos","events_url":"https://api.github.com/users/codetain/events{/privacy}","received_events_url":"https://api.github.com/users/codetain/received_events","type":"Organization","site_admin":false},"repo":{"id":113026422,"name":"base_react_template","full_name":"codetain/base_react_template","owner":{"login":"codetain","id":15344955,"avatar_url":"https://avatars0.githubusercontent.com/u/15344955?v=4","gravatar_id":"","url":"https://api.github.com/users/codetain","html_url":"https://github.com/codetain","followers_url":"https://api.github.com/users/codetain/followers","following_url":"https://api.github.com/users/codetain/following{/other_user}","gists_url":"https://api.github.com/users/codetain/gists{/gist_id}","starred_url":"https://api.github.com/users/codetain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codetain/subscriptions","organizations_url":"https://api.github.com/users/codetain/orgs","repos_url":"https://api.github.com/users/codetain/repos","events_url":"https://api.github.com/users/codetain/events{/privacy}","received_events_url":"https://api.github.com/users/codetain/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codetain/base_react_template","description":null,"fork":false,"url":"https://api.github.com/repos/codetain/base_react_template","forks_url":"https://api.github.com/repos/codetain/base_react_template/forks","keys_url":"https://api.github.com/repos/codetain/base_react_template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codetain/base_react_template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codetain/base_react_template/teams","hooks_url":"https://api.github.com/repos/codetain/base_react_template/hooks","issue_events_url":"https://api.github.com/repos/codetain/base_react_template/issues/events{/number}","events_url":"https://api.github.com/repos/codetain/base_react_template/events","assignees_url":"https://api.github.com/repos/codetain/base_react_template/assignees{/user}","branches_url":"https://api.github.com/repos/codetain/base_react_template/branches{/branch}","tags_url":"https://api.github.com/repos/codetain/base_react_template/tags","blobs_url":"https://api.github.com/repos/codetain/base_react_template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codetain/base_react_template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codetain/base_react_template/git/refs{/sha}","trees_url":"https://api.github.com/repos/codetain/base_react_template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codetain/base_react_template/statuses/{sha}","languages_url":"https://api.github.com/repos/codetain/base_react_template/languages","stargazers_url":"https://api.github.com/repos/codetain/base_react_template/stargazers","contributors_url":"https://api.github.com/repos/codetain/base_react_template/contributors","subscribers_url":"https://api.github.com/repos/codetain/base_react_template/subscribers","subscription_url":"https://api.github.com/repos/codetain/base_react_template/subscription","commits_url":"https://api.github.com/repos/codetain/base_react_template/commits{/sha}","git_commits_url":"https://api.github.com/repos/codetain/base_react_template/git/commits{/sha}","comments_url":"https://api.github.com/repos/codetain/base_react_template/comments{/number}","issue_comment_url":"https://api.github.com/repos/codetain/base_react_template/issues/comments{/number}","contents_url":"https://api.github.com/repos/codetain/base_react_template/contents/{+path}","compare_url":"https://api.github.com/repos/codetain/base_react_template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codetain/base_react_template/merges","archive_url":"https://api.github.com/repos/codetain/base_react_template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codetain/base_react_template/downloads","issues_url":"https://api.github.com/repos/codetain/base_react_template/issues{/number}","pulls_url":"https://api.github.com/repos/codetain/base_react_template/pulls{/number}","milestones_url":"https://api.github.com/repos/codetain/base_react_template/milestones{/number}","notifications_url":"https://api.github.com/repos/codetain/base_react_template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codetain/base_react_template/labels{/name}","releases_url":"https://api.github.com/repos/codetain/base_react_template/releases{/id}","deployments_url":"https://api.github.com/repos/codetain/base_react_template/deployments","created_at":"2017-12-04T10:05:50Z","updated_at":"2017-12-04T12:25:57Z","pushed_at":"2018-02-08T13:27:50Z","git_url":"git://github.com/codetain/base_react_template.git","ssh_url":"git@github.com:codetain/base_react_template.git","clone_url":"https://github.com/codetain/base_react_template.git","svn_url":"https://github.com/codetain/base_react_template","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/1"},"html":{"href":"https://github.com/codetain/base_react_template/pull/1"},"issue":{"href":"https://api.github.com/repos/codetain/base_react_template/issues/1"},"comments":{"href":"https://api.github.com/repos/codetain/base_react_template/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codetain/base_react_template/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/codetain/base_react_template/statuses/08ce9ba873437ad45db5546b935e5933a3ec010a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Lervana"}}