sindresorhus/refined-github

The issue has been closed
Webpack issue: some exports not tree-shaken #2996
fregante posted onGitHub
Since #2512, all page-detect
’s tests have been included in the final bundle and have not been tree-shaken as I was expecting.
Here's the what the output looks like:
const isOwnOrganizationProfile = () => isOrganizationProfile() && !select_dom__WEBPACK_IMPORTED_MODULE_0__["a"].exists('[href*="contact/report-abuse?report="]');
const _isOwnOrganizationProfile = domBased;
const isProject = () => /^projects\/\d+/.test(Object(_utils__WEBPACK_IMPORTED_MODULE_2__["k"])());
const _isProject = [ "https://github.com/sindresorhus/refined-github/projects/3" ];
Exports starting with _
should not be included in the final bundle.