{"id":23442273,"url":"https://github.com/byzyk/react-app-rewire-webpack-bundle-analyzer","last_synced_at":"2025-04-13T11:11:11.669Z","repository":{"id":48033184,"uuid":"135884840","full_name":"byzyk/react-app-rewire-webpack-bundle-analyzer","owner":"byzyk","description":"Add webpack-bundle-analyzer to a react-app-rewired config.","archived":false,"fork":false,"pushed_at":"2022-12-10T16:19:34.000Z","size":107,"stargazers_count":22,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T02:21:29.926Z","etag":null,"topics":["create-react-app","react","react-app-rewire","react-app-rewired","webpack","webpack-bundle-analyzer"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/byzyk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-03T07:57:54.000Z","updated_at":"2023-06-26T15:37:01.000Z","dependencies_parsed_at":"2023-01-26T03:45:36.013Z","dependency_job_id":null,"html_url":"https://github.com/byzyk/react-app-rewire-webpack-bundle-analyzer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byzyk%2Freact-app-rewire-webpack-bundle-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byzyk%2Freact-app-rewire-webpack-bundle-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byzyk%2Freact-app-rewire-webpack-bundle-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byzyk%2Freact-app-rewire-webpack-bundle-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byzyk","download_url":"https://codeload.github.com/byzyk/react-app-rewire-webpack-bundle-analyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248466921,"owners_count":21108558,"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":["create-react-app","react","react-app-rewire","react-app-rewired","webpack","webpack-bundle-analyzer"],"created_at":"2024-12-23T17:29:15.674Z","updated_at":"2025-04-13T11:11:11.646Z","avatar_url":"https://github.com/byzyk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-app-rewire-webpack-bundle-analyzer\n\n[![npm](https://img.shields.io/npm/v/react-app-rewire-webpack-bundle-analyzer.svg)](https://www.npmjs.com/package/react-app-rewire-webpack-bundle-analyzer)\n[![License](https://img.shields.io/npm/l/react-app-rewire-webpack-bundle-analyzer.svg)](https://github.com/byzyk/react-app-rewire-webpack-bundle-analyzer/blob/master/LICENSE)\n\n\u003e Add [`webpack-bundle-analyzer`](https://github.com/webpack-contrib/webpack-bundle-analyzer) to [`react-app-rewired`](https://github.com/timarney/react-app-rewired) config.\n\n## Install\n\n```sh\nnpm install --save-dev react-app-rewire-webpack-bundle-analyzer\n```\n\n## Usage\n\n```js\nconst rewireWebpackBundleAnalyzer = require('react-app-rewire-webpack-bundle-analyzer')\n\nmodule.exports = function override(config, env) {\n  // ...\n\n  if (env === 'production') {\n    config = rewireWebpackBundleAnalyzer(config, env, {\n      analyzerMode: 'static',\n      reportFilename: 'report.html'\n    })\n  }\n\n  return config\n}\n```\n\n## License\n\nMIT © [Bohdan Khodakivskyi](https://bohdan-khodakivskyi.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyzyk%2Freact-app-rewire-webpack-bundle-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyzyk%2Freact-app-rewire-webpack-bundle-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyzyk%2Freact-app-rewire-webpack-bundle-analyzer/lists"}