{"id":16617314,"url":"https://github.com/navarroaxel/fa-bundle-bug","last_synced_at":"2025-07-20T01:31:36.239Z","repository":{"id":32159303,"uuid":"124810176","full_name":"navarroaxel/fa-bundle-bug","owner":"navarroaxel","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-25T10:07:13.000Z","size":562,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T04:25:56.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/navarroaxel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-03-11T23:43:25.000Z","updated_at":"2018-03-11T23:44:26.000Z","dependencies_parsed_at":"2023-02-14T06:31:38.814Z","dependency_job_id":null,"html_url":"https://github.com/navarroaxel/fa-bundle-bug","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/navarroaxel/fa-bundle-bug","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarroaxel%2Ffa-bundle-bug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarroaxel%2Ffa-bundle-bug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarroaxel%2Ffa-bundle-bug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarroaxel%2Ffa-bundle-bug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/navarroaxel","download_url":"https://codeload.github.com/navarroaxel/fa-bundle-bug/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/navarroaxel%2Ffa-bundle-bug/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266053823,"owners_count":23869496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T02:16:12.511Z","updated_at":"2025-07-20T01:31:36.202Z","avatar_url":"https://github.com/navarroaxel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fa-bundle-bug\n\nThis repo exists to show a tree shaking bug in `@fortawesome/fontawesome-free-solid` using the destructuring import syntax.\n\n## Related issues\n\nhttps://github.com/FortAwesome/react-fontawesome/issues/70\n\nhttps://github.com/webpack/webpack/issues/6724\n\n## Reproducing the bug\nAfter clone this repo you should run the following commands:\n\n    yarn install\n    yarn build\n\nThe webpack-bundle-analyzer opens a tab in http://127.0.0.1:8888/ and you can see the whole font-awesome icons library inside the `main.bundle.js` because our code use just ONE icon in `App.js`.\n\n## 2nd Test with sideEffects off\n\nEdit `src/fa-bundle/node_modules/@fortawesome/fontawesome-free-solid/package.json` adding \"sideEffects\": false and run `yarn build` again.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarroaxel%2Ffa-bundle-bug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnavarroaxel%2Ffa-bundle-bug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnavarroaxel%2Ffa-bundle-bug/lists"}