{"id":24988786,"url":"https://github.com/bipboy/webpack-stats-plugin","last_synced_at":"2025-06-16T05:35:59.789Z","repository":{"id":137037639,"uuid":"496468024","full_name":"bipboy/webpack-stats-plugin","owner":"bipboy","description":"Stats resolver function for Webpack","archived":false,"fork":false,"pushed_at":"2023-03-08T04:26:34.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T11:33:01.163Z","etag":null,"topics":["manifest","plugin","stats","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bipboy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-26T03:27:18.000Z","updated_at":"2022-10-15T14:24:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"b424f421-9a14-4f17-b23e-8122c61094ec","html_url":"https://github.com/bipboy/webpack-stats-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bipboy/webpack-stats-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipboy%2Fwebpack-stats-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipboy%2Fwebpack-stats-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipboy%2Fwebpack-stats-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipboy%2Fwebpack-stats-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bipboy","download_url":"https://codeload.github.com/bipboy/webpack-stats-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bipboy%2Fwebpack-stats-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260106593,"owners_count":22959694,"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":["manifest","plugin","stats","typescript","webpack"],"created_at":"2025-02-04T12:09:06.547Z","updated_at":"2025-06-16T05:35:59.782Z","avatar_url":"https://github.com/bipboy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stats Resolver for React SSR\n\nStats resolver function for Webpack\n\n## Usage\n\n```\nnpm i @bipboys/webpack-stats-plugin\n```\n\n### Use \"StatsWriterPlugin\" for export assets to \\*.json\n\n```ts\nconst {StatsWriterPlugin} = require('@bipboys/webpack-stats-plugin');\n\nmodule = {\n  // webpack config\n  plugins: [\n    new StatsWriterPlugin({\n      filename: 'stats.json',\n      fields: [\n        'errors',\n        'warnings',\n        'assets',\n        'hash',\n        'publicPath',\n        'outputPath',\n        'namedChunkGroups'\n      ]\n    })\n  ]\n};\n```\n\n### Somewhere in your server:\n\n```tsx\nimport {getScripts} from '@bipboys/webpack-stats-plugin';\n\n// Get Scripts and Links from stats.json\nconst {scriptsAssets, stylesAssets} = await getScripts(manifest, assetName);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipboy%2Fwebpack-stats-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbipboy%2Fwebpack-stats-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbipboy%2Fwebpack-stats-plugin/lists"}