{"action":"created","comment":{"url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/comments/47438371","id":47438371,"diff_hunk":"@@ -54,12 +55,27 @@ module.exports = {\n   ],\n   module: {\n     loaders: [\n+      { test: /\\.(woff2?|svg)$/, loader: 'url?limit=10000' },\n+      { test: /\\.(ttf|eot)$/, loader: 'file' },\n+      { test: /\\.(jpe?g|png|gif|svg|ico)$/, loader: 'url?limit=10000' },\n \n-      // React is necessary for the client rendering:\n+      // React is necessary for the client rendering\n       { test: require.resolve('react'), loader: 'expose?React' },\n       { test: require.resolve('react-dom'), loader: 'expose?ReactDOM' },\n       { test: require.resolve('jquery'), loader: 'expose?jQuery' },\n       { test: require.resolve('jquery'), loader: 'expose?$' },\n+\n+      // Use one of these to serve jQuery for Bootstrap scripts:\n+\n+      // Bootstrap 3\n+      { test: /bootstrap-sass\\/assets\\/javascripts\\//, loader: 'imports?jQuery=jquery' },\n+\n+      // Bootstrap 4\n+      { test: /bootstrap\\/dist\\/js\\/umd\\//, loader: 'imports?jQuery=jquery' },\n     ],\n   },\n+\n+  postcss: [autoprefixer],\n+  sassResources: ['./app/assets/styles/app-variables.scss'],","path":"client/webpack.client.base.config.js","position":60,"original_position":60,"commit_id":"48da53b495080eacf7b2f201b0537405a890739d","original_commit_id":"48da53b495080eacf7b2f201b0537405a890739d","user":{"login":"justin808","id":1118459,"avatar_url":"https://avatars.githubusercontent.com/u/1118459?v=3","gravatar_id":"","url":"https://api.github.com/users/justin808","html_url":"https://github.com/justin808","followers_url":"https://api.github.com/users/justin808/followers","following_url":"https://api.github.com/users/justin808/following{/other_user}","gists_url":"https://api.github.com/users/justin808/gists{/gist_id}","starred_url":"https://api.github.com/users/justin808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin808/subscriptions","organizations_url":"https://api.github.com/users/justin808/orgs","repos_url":"https://api.github.com/users/justin808/repos","events_url":"https://api.github.com/users/justin808/events{/privacy}","received_events_url":"https://api.github.com/users/justin808/received_events","type":"User","site_admin":false},"body":"comment with link to npm module","created_at":"2015-12-12T23:43:50Z","updated_at":"2015-12-12T23:43:50Z","html_url":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175#discussion_r47438371","pull_request_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175","_links":{"self":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/comments/47438371"},"html":{"href":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175#discussion_r47438371"},"pull_request":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175"}}},"pull_request":{"url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175","id":53486736,"html_url":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175","diff_url":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175.diff","patch_url":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175.patch","issue_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/175","number":175,"state":"open","locked":false,"title":"Babel 6 / CSS Modules / Rails hot reloading","user":{"login":"alexfedoseev","id":4244251,"avatar_url":"https://avatars.githubusercontent.com/u/4244251?v=3","gravatar_id":"","url":"https://api.github.com/users/alexfedoseev","html_url":"https://github.com/alexfedoseev","followers_url":"https://api.github.com/users/alexfedoseev/followers","following_url":"https://api.github.com/users/alexfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/alexfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfedoseev/subscriptions","organizations_url":"https://api.github.com/users/alexfedoseev/orgs","repos_url":"https://api.github.com/users/alexfedoseev/repos","events_url":"https://api.github.com/users/alexfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/alexfedoseev/received_events","type":"User","site_admin":false},"body":"* [x] Update to Babel 6\r\n* [x] Handle all assets with webpack\r\n* [x] Move to CSS Modules\r\n* [x] Apply `bootstrap-loader` & `sass-resources-loader`\r\n* [x] Make Rails views hot reloadable\r\n\r\n![screen recording 2015-12-13 at 12 54 am](https://cloud.githubusercontent.com/assets/4244251/11764168/8ea52024-a136-11e5-90bd-4062a1dc0e18.gif)\r\n\r\n\r\n/cc: @justin808 @robwise @yorzi","created_at":"2015-12-12T22:01:31Z","updated_at":"2015-12-12T23:43:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39f188a8623a32e4f1fe61e62a6e66abd491d040","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175/commits","review_comments_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175/comments","review_comment_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/175/comments","statuses_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/statuses/48da53b495080eacf7b2f201b0537405a890739d","head":{"label":"shakacode:alex/client-babel-6-css-modules-rails-hot","ref":"alex/client-babel-6-css-modules-rails-hot","sha":"48da53b495080eacf7b2f201b0537405a890739d","user":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"repo":{"id":24088847,"name":"react-webpack-rails-tutorial","full_name":"shakacode/react-webpack-rails-tutorial","owner":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shakacode/react-webpack-rails-tutorial","description":"Example of integration of Rails, react, redux, using the react_on_rails gem, webpack, enabling the es7 and jsx transpilers, and node integration. Live Demo:","fork":false,"url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial","forks_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/forks","keys_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/teams","hooks_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/hooks","issue_events_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/events","assignees_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/tags","blobs_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/languages","stargazers_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/stargazers","contributors_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/contributors","subscribers_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/subscribers","subscription_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/subscription","commits_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/merges","archive_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/downloads","issues_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/labels{/name}","releases_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/releases{/id}","created_at":"2014-09-16T06:54:32Z","updated_at":"2015-12-12T07:15:31Z","pushed_at":"2015-12-12T23:02:55Z","git_url":"git://github.com/shakacode/react-webpack-rails-tutorial.git","ssh_url":"git@github.com:shakacode/react-webpack-rails-tutorial.git","clone_url":"https://github.com/shakacode/react-webpack-rails-tutorial.git","svn_url":"https://github.com/shakacode/react-webpack-rails-tutorial","homepage":"http://www.reactrails.com","size":1216,"stargazers_count":521,"watchers_count":521,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":16,"forks":94,"open_issues":16,"watchers":521,"default_branch":"master"}},"base":{"label":"shakacode:master","ref":"master","sha":"ee769cda710e8efa7bb611c86796820832b4583d","user":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"repo":{"id":24088847,"name":"react-webpack-rails-tutorial","full_name":"shakacode/react-webpack-rails-tutorial","owner":{"login":"shakacode","id":13779463,"avatar_url":"https://avatars.githubusercontent.com/u/13779463?v=3","gravatar_id":"","url":"https://api.github.com/users/shakacode","html_url":"https://github.com/shakacode","followers_url":"https://api.github.com/users/shakacode/followers","following_url":"https://api.github.com/users/shakacode/following{/other_user}","gists_url":"https://api.github.com/users/shakacode/gists{/gist_id}","starred_url":"https://api.github.com/users/shakacode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shakacode/subscriptions","organizations_url":"https://api.github.com/users/shakacode/orgs","repos_url":"https://api.github.com/users/shakacode/repos","events_url":"https://api.github.com/users/shakacode/events{/privacy}","received_events_url":"https://api.github.com/users/shakacode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shakacode/react-webpack-rails-tutorial","description":"Example of integration of Rails, react, redux, using the react_on_rails gem, webpack, enabling the es7 and jsx transpilers, and node integration. Live Demo:","fork":false,"url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial","forks_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/forks","keys_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/teams","hooks_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/hooks","issue_events_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/events{/number}","events_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/events","assignees_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/assignees{/user}","branches_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/branches{/branch}","tags_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/tags","blobs_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/refs{/sha}","trees_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/statuses/{sha}","languages_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/languages","stargazers_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/stargazers","contributors_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/contributors","subscribers_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/subscribers","subscription_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/subscription","commits_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/commits{/sha}","git_commits_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/git/commits{/sha}","comments_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/comments{/number}","issue_comment_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/comments{/number}","contents_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/contents/{+path}","compare_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/merges","archive_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/downloads","issues_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues{/number}","pulls_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls{/number}","milestones_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/milestones{/number}","notifications_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/labels{/name}","releases_url":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/releases{/id}","created_at":"2014-09-16T06:54:32Z","updated_at":"2015-12-12T07:15:31Z","pushed_at":"2015-12-12T23:02:55Z","git_url":"git://github.com/shakacode/react-webpack-rails-tutorial.git","ssh_url":"git@github.com:shakacode/react-webpack-rails-tutorial.git","clone_url":"https://github.com/shakacode/react-webpack-rails-tutorial.git","svn_url":"https://github.com/shakacode/react-webpack-rails-tutorial","homepage":"http://www.reactrails.com","size":1216,"stargazers_count":521,"watchers_count":521,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":94,"mirror_url":null,"open_issues_count":16,"forks":94,"open_issues":16,"watchers":521,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175"},"html":{"href":"https://github.com/shakacode/react-webpack-rails-tutorial/pull/175"},"issue":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/175"},"comments":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/issues/175/comments"},"review_comments":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175/comments"},"review_comment":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/pulls/175/commits"},"statuses":{"href":"https://api.github.com/repos/shakacode/react-webpack-rails-tutorial/statuses/48da53b495080eacf7b2f201b0537405a890739d"}}}}