{"action":"closed","issue":{"url":"https://api.github.com/repos/micromatch/picomatch/issues/6","repository_url":"https://api.github.com/repos/micromatch/picomatch","labels_url":"https://api.github.com/repos/micromatch/picomatch/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/micromatch/picomatch/issues/6/comments","events_url":"https://api.github.com/repos/micromatch/picomatch/issues/6/events","html_url":"https://github.com/micromatch/picomatch/issues/6","id":387108542,"node_id":"MDU6SXNzdWUzODcxMDg1NDI=","number":6,"title":"Possible to reduce bundled size vs minimatch?","user":{"login":"humphd","id":427398,"node_id":"MDQ6VXNlcjQyNzM5OA==","avatar_url":"https://avatars2.githubusercontent.com/u/427398?v=4","gravatar_id":"","url":"https://api.github.com/users/humphd","html_url":"https://github.com/humphd","followers_url":"https://api.github.com/users/humphd/followers","following_url":"https://api.github.com/users/humphd/following{/other_user}","gists_url":"https://api.github.com/users/humphd/gists{/gist_id}","starred_url":"https://api.github.com/users/humphd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/humphd/subscriptions","organizations_url":"https://api.github.com/users/humphd/orgs","repos_url":"https://api.github.com/users/humphd/repos","events_url":"https://api.github.com/users/humphd/events{/privacy}","received_events_url":"https://api.github.com/users/humphd/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-12-04T03:53:03Z","updated_at":"2018-12-04T18:40:22Z","closed_at":"2018-12-04T18:40:21Z","author_association":"NONE","body":"I was really excited to find picomatch, and wanted to try swapping it for minimatch in our browser library.  I tried building both with Parceljs, and picomatch is 5K larger in a minified bundle.\r\n\r\nFirst minimatch:\r\n\r\n```\r\ndist/minimatch.js                                                                               14.56 KB    611ms\r\n├── minimatch.js                                                                                 7.31 KB     17ms\r\n├── ../../../usr/local/lib/node_modules/parcel-bundler/node_modules/process/browser.js           2.27 KB    231ms\r\n├── ../../../usr/local/lib/node_modules/parcel-bundler/node_modules/path-browserify/index.js     2.09 KB      2ms\r\n├── node_modules/brace-expansion/index.js                                                        2.06 KB    176ms\r\n├── node_modules/balanced-match/index.js                                                           601 B    116ms\r\n└── node_modules/concat-map/index.js                                                               259 B     65ms\r\n```\r\n\r\nAnd picomatch:\r\n\r\n```\r\ndist/index.js                                19.84 KB    17.55s\r\n├── lib/parse.js                              9.62 KB     681ms\r\n├── lib/picomatch.js                          3.18 KB     758ms\r\n├── node_modules/process/browser.js           2.63 KB     200ms\r\n├── lib/scan.js                               2.13 KB     453ms\r\n├── node_modules/path-browserify/index.js      2.1 KB     166ms\r\n└── index.js                                    116 B    16.08s\r\n```\r\n\r\nIn the end, picomatch is larger, which surprised me.  Obviously you didn't state that your goal was to make it smaller than minimatch, and I assumed by reading the README.  But I thought I'd file it in case you had any interest in this comparison.  Feel free to close this too if it's not in scope for your work."}}
{"actor":{"display_login":"humphd"}}