{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/comments/178362408","pull_request_review_id":108416906,"id":178362408,"diff_hunk":"@@ -51,6 +51,11 @@ export interface ISetWebpackPublicPathOptions {\n    * See the README for more information.\n    */\n   getPostProcessScript?: (varName: string) => string;\n+\n+  /**\n+   * If true, find the last script matching the regexVariable (if it is set). If false, find the first matching script.\n+   */\n+  findLast?: boolean;","path":"webpack/set-webpack-public-path-plugin/src/SetPublicPathPlugin.ts","position":null,"original_position":8,"commit_id":"67ff8d29ff6effbcbec5486f6c1ba3e324706f1f","original_commit_id":"9a23d2ffd1be70a05ee2c5f663543ca2cd6e655b","user":{"login":"mamooty","id":18429924,"avatar_url":"https://avatars1.githubusercontent.com/u/18429924?v=4","gravatar_id":"","url":"https://api.github.com/users/mamooty","html_url":"https://github.com/mamooty","followers_url":"https://api.github.com/users/mamooty/followers","following_url":"https://api.github.com/users/mamooty/following{/other_user}","gists_url":"https://api.github.com/users/mamooty/gists{/gist_id}","starred_url":"https://api.github.com/users/mamooty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamooty/subscriptions","organizations_url":"https://api.github.com/users/mamooty/orgs","repos_url":"https://api.github.com/users/mamooty/repos","events_url":"https://api.github.com/users/mamooty/events{/privacy}","received_events_url":"https://api.github.com/users/mamooty/received_events","type":"User","site_admin":false},"body":"In case there are multiple scripts that match the regex (usually 2, for some debugging purpose) and you need to use the 2nd one instead of the first.","created_at":"2018-03-30T19:45:23Z","updated_at":"2018-03-30T19:45:23Z","html_url":"https://github.com/Microsoft/web-build-tools/pull/586#discussion_r178362408","pull_request_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/comments/178362408"},"html":{"href":"https://github.com/Microsoft/web-build-tools/pull/586#discussion_r178362408"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586"}},"in_reply_to_id":178344328},"pull_request":{"url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586","id":178459418,"html_url":"https://github.com/Microsoft/web-build-tools/pull/586","diff_url":"https://github.com/Microsoft/web-build-tools/pull/586.diff","patch_url":"https://github.com/Microsoft/web-build-tools/pull/586.patch","issue_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/586","number":586,"state":"open","locked":false,"title":"Adding new findLast option to ISetWebpackPublicPathOptions","user":{"login":"mamooty","id":18429924,"avatar_url":"https://avatars1.githubusercontent.com/u/18429924?v=4","gravatar_id":"","url":"https://api.github.com/users/mamooty","html_url":"https://github.com/mamooty","followers_url":"https://api.github.com/users/mamooty/followers","following_url":"https://api.github.com/users/mamooty/following{/other_user}","gists_url":"https://api.github.com/users/mamooty/gists{/gist_id}","starred_url":"https://api.github.com/users/mamooty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamooty/subscriptions","organizations_url":"https://api.github.com/users/mamooty/orgs","repos_url":"https://api.github.com/users/mamooty/repos","events_url":"https://api.github.com/users/mamooty/events{/privacy}","received_events_url":"https://api.github.com/users/mamooty/received_events","type":"User","site_admin":false},"body":"Adding new option to ISetWebpackPublicPathOptions, called findLast. This allows for finding the last matching script instead of the first","created_at":"2018-03-29T22:44:22Z","updated_at":"2018-03-30T19:45:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb9233f578f661851edd481323cce20b1fef5442","assignee":{"login":"mamooty","id":18429924,"avatar_url":"https://avatars1.githubusercontent.com/u/18429924?v=4","gravatar_id":"","url":"https://api.github.com/users/mamooty","html_url":"https://github.com/mamooty","followers_url":"https://api.github.com/users/mamooty/followers","following_url":"https://api.github.com/users/mamooty/following{/other_user}","gists_url":"https://api.github.com/users/mamooty/gists{/gist_id}","starred_url":"https://api.github.com/users/mamooty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamooty/subscriptions","organizations_url":"https://api.github.com/users/mamooty/orgs","repos_url":"https://api.github.com/users/mamooty/repos","events_url":"https://api.github.com/users/mamooty/events{/privacy}","received_events_url":"https://api.github.com/users/mamooty/received_events","type":"User","site_admin":false},"assignees":[{"login":"mamooty","id":18429924,"avatar_url":"https://avatars1.githubusercontent.com/u/18429924?v=4","gravatar_id":"","url":"https://api.github.com/users/mamooty","html_url":"https://github.com/mamooty","followers_url":"https://api.github.com/users/mamooty/followers","following_url":"https://api.github.com/users/mamooty/following{/other_user}","gists_url":"https://api.github.com/users/mamooty/gists{/gist_id}","starred_url":"https://api.github.com/users/mamooty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mamooty/subscriptions","organizations_url":"https://api.github.com/users/mamooty/orgs","repos_url":"https://api.github.com/users/mamooty/repos","events_url":"https://api.github.com/users/mamooty/events{/privacy}","received_events_url":"https://api.github.com/users/mamooty/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"pgonzal","id":4673363,"avatar_url":"https://avatars0.githubusercontent.com/u/4673363?v=4","gravatar_id":"","url":"https://api.github.com/users/pgonzal","html_url":"https://github.com/pgonzal","followers_url":"https://api.github.com/users/pgonzal/followers","following_url":"https://api.github.com/users/pgonzal/following{/other_user}","gists_url":"https://api.github.com/users/pgonzal/gists{/gist_id}","starred_url":"https://api.github.com/users/pgonzal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgonzal/subscriptions","organizations_url":"https://api.github.com/users/pgonzal/orgs","repos_url":"https://api.github.com/users/pgonzal/repos","events_url":"https://api.github.com/users/pgonzal/events{/privacy}","received_events_url":"https://api.github.com/users/pgonzal/received_events","type":"User","site_admin":false},{"login":"iclanton","id":5010588,"avatar_url":"https://avatars1.githubusercontent.com/u/5010588?v=4","gravatar_id":"","url":"https://api.github.com/users/iclanton","html_url":"https://github.com/iclanton","followers_url":"https://api.github.com/users/iclanton/followers","following_url":"https://api.github.com/users/iclanton/following{/other_user}","gists_url":"https://api.github.com/users/iclanton/gists{/gist_id}","starred_url":"https://api.github.com/users/iclanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iclanton/subscriptions","organizations_url":"https://api.github.com/users/iclanton/orgs","repos_url":"https://api.github.com/users/iclanton/repos","events_url":"https://api.github.com/users/iclanton/events{/privacy}","received_events_url":"https://api.github.com/users/iclanton/received_events","type":"User","site_admin":false},{"login":"chackman","id":17054148,"avatar_url":"https://avatars2.githubusercontent.com/u/17054148?v=4","gravatar_id":"","url":"https://api.github.com/users/chackman","html_url":"https://github.com/chackman","followers_url":"https://api.github.com/users/chackman/followers","following_url":"https://api.github.com/users/chackman/following{/other_user}","gists_url":"https://api.github.com/users/chackman/gists{/gist_id}","starred_url":"https://api.github.com/users/chackman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chackman/subscriptions","organizations_url":"https://api.github.com/users/chackman/orgs","repos_url":"https://api.github.com/users/chackman/repos","events_url":"https://api.github.com/users/chackman/events{/privacy}","received_events_url":"https://api.github.com/users/chackman/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586/commits","review_comments_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586/comments","review_comment_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/586/comments","statuses_url":"https://api.github.com/repos/Microsoft/web-build-tools/statuses/67ff8d29ff6effbcbec5486f6c1ba3e324706f1f","head":{"label":"Microsoft:mamooty/findLast","ref":"mamooty/findLast","sha":"67ff8d29ff6effbcbec5486f6c1ba3e324706f1f","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":69618902,"name":"web-build-tools","full_name":"Microsoft/web-build-tools","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/web-build-tools","description":"A tool box for large scale web development","fork":false,"url":"https://api.github.com/repos/Microsoft/web-build-tools","forks_url":"https://api.github.com/repos/Microsoft/web-build-tools/forks","keys_url":"https://api.github.com/repos/Microsoft/web-build-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/web-build-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/web-build-tools/teams","hooks_url":"https://api.github.com/repos/Microsoft/web-build-tools/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/web-build-tools/events","assignees_url":"https://api.github.com/repos/Microsoft/web-build-tools/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/web-build-tools/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/web-build-tools/tags","blobs_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/web-build-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/web-build-tools/languages","stargazers_url":"https://api.github.com/repos/Microsoft/web-build-tools/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/web-build-tools/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/web-build-tools/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/web-build-tools/subscription","commits_url":"https://api.github.com/repos/Microsoft/web-build-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/web-build-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/web-build-tools/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/web-build-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/web-build-tools/merges","archive_url":"https://api.github.com/repos/Microsoft/web-build-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/web-build-tools/downloads","issues_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/web-build-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/web-build-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/web-build-tools/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/web-build-tools/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/web-build-tools/deployments","created_at":"2016-09-30T00:28:20Z","updated_at":"2018-03-29T11:27:29Z","pushed_at":"2018-03-30T19:08:24Z","git_url":"git://github.com/Microsoft/web-build-tools.git","ssh_url":"git@github.com:Microsoft/web-build-tools.git","clone_url":"https://github.com/Microsoft/web-build-tools.git","svn_url":"https://github.com/Microsoft/web-build-tools","homepage":"","size":12524,"stargazers_count":184,"watchers_count":184,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":26,"license":null,"forks":55,"open_issues":26,"watchers":184,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"99770a78c571e53a8f311a5dd84849e494e8d6b6","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":69618902,"name":"web-build-tools","full_name":"Microsoft/web-build-tools","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars2.githubusercontent.com/u/6154722?v=4","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/web-build-tools","description":"A tool box for large scale web development","fork":false,"url":"https://api.github.com/repos/Microsoft/web-build-tools","forks_url":"https://api.github.com/repos/Microsoft/web-build-tools/forks","keys_url":"https://api.github.com/repos/Microsoft/web-build-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/web-build-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/web-build-tools/teams","hooks_url":"https://api.github.com/repos/Microsoft/web-build-tools/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/web-build-tools/events","assignees_url":"https://api.github.com/repos/Microsoft/web-build-tools/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/web-build-tools/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/web-build-tools/tags","blobs_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/web-build-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/web-build-tools/languages","stargazers_url":"https://api.github.com/repos/Microsoft/web-build-tools/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/web-build-tools/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/web-build-tools/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/web-build-tools/subscription","commits_url":"https://api.github.com/repos/Microsoft/web-build-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/web-build-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/web-build-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/web-build-tools/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/web-build-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/web-build-tools/merges","archive_url":"https://api.github.com/repos/Microsoft/web-build-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/web-build-tools/downloads","issues_url":"https://api.github.com/repos/Microsoft/web-build-tools/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/web-build-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/web-build-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/web-build-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/web-build-tools/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/web-build-tools/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/web-build-tools/deployments","created_at":"2016-09-30T00:28:20Z","updated_at":"2018-03-29T11:27:29Z","pushed_at":"2018-03-30T19:08:24Z","git_url":"git://github.com/Microsoft/web-build-tools.git","ssh_url":"git@github.com:Microsoft/web-build-tools.git","clone_url":"https://github.com/Microsoft/web-build-tools.git","svn_url":"https://github.com/Microsoft/web-build-tools","homepage":"","size":12524,"stargazers_count":184,"watchers_count":184,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":55,"mirror_url":null,"archived":false,"open_issues_count":26,"license":null,"forks":55,"open_issues":26,"watchers":184,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586"},"html":{"href":"https://github.com/Microsoft/web-build-tools/pull/586"},"issue":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/issues/586"},"comments":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/issues/586/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/pulls/586/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/web-build-tools/statuses/67ff8d29ff6effbcbec5486f6c1ba3e324706f1f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mamooty"}}