{"id":22342439,"url":"https://github.com/mquy/webpack-compiling-stats-plugin","last_synced_at":"2025-07-30T01:32:38.958Z","repository":{"id":39230696,"uuid":"239297992","full_name":"MQuy/webpack-compiling-stats-plugin","owner":"MQuy","description":"Webpack plugin to output compiling stats","archived":false,"fork":false,"pushed_at":"2022-12-12T01:50:59.000Z","size":2348,"stargazers_count":10,"open_issues_count":19,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-11T19:44:20.661Z","etag":null,"topics":["compiling","metrics","stats","time","webpack","webpack-plugin"],"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/MQuy.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":"2020-02-09T12:06:19.000Z","updated_at":"2023-04-06T08:39:39.000Z","dependencies_parsed_at":"2022-08-30T07:42:45.189Z","dependency_job_id":null,"html_url":"https://github.com/MQuy/webpack-compiling-stats-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MQuy/webpack-compiling-stats-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MQuy%2Fwebpack-compiling-stats-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MQuy%2Fwebpack-compiling-stats-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MQuy%2Fwebpack-compiling-stats-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MQuy%2Fwebpack-compiling-stats-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MQuy","download_url":"https://codeload.github.com/MQuy/webpack-compiling-stats-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MQuy%2Fwebpack-compiling-stats-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267792734,"owners_count":24144931,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compiling","metrics","stats","time","webpack","webpack-plugin"],"created_at":"2024-12-04T08:12:37.704Z","updated_at":"2025-07-30T01:32:33.940Z","avatar_url":"https://github.com/MQuy.png","language":"JavaScript","readme":"## Webpack Compiling Stats Plugin\n\nWebpack plugin to output compiling stats\n\n[![npm][npm]][npm-url]\n[![node][node]][node-url]\n[![deps][deps]][deps-url]\n[![licenses][licenses]][licenses-url]\n\n### Installation\n\nVia npm:\n\n```bash\n$ npm install webpack-compiling-stats-plugin --save-dev\n```\n\nVia yarn:\n\n```bash\n$ yarn add -D webpack-compiling-stats-plugin\n```\n\n![output](https://i.imgur.com/YY4DPUF.png)\n\n### Usage\n\n```js\nconst CompilingStatsPlugin = require('webpack-compiling-stats-plugin');\n\nconst webpackConfig = {\n  ...\n  plugins: [\n    new CompilingStatsPlugin()\n  ]\n}\n```\n\n✍️ when using `thread-loader`, all the same file types have to be placed in the same rule.\n\n```js\nrules: [\n  {\n    test: /\\.(js|jsx)$/,\n    loader: \"eslint-loader\",\n    enforce: \"pre\"\n  },\n  {\n    test: /\\.(js|jsx)$/,\n    use: [\"thread-loader\", \"babel-loader\"]\n  }\n];\n\n-\u003e\n\nrules: [\n  {\n    test: /\\.(js|jsx)$/,\n    use: [\"thread-loader\", \"babel-loader\", \"eslint-loader\"]\n  }\n];\n\n```\n\n### Configuration\n\n```js\nnew CompilingStatsPlugin(options);\n```\n\n#### ignoredPlugins (default: `[native webpack plugins]`)\n\nList of webpack plugins are ignored when analyzing/logging\n\n#### threadhold (default: `0`)\n\nThe minimum time is accepted when logging\n\n#### log\n\nThe function logs stats\n\n[npm]: https://img.shields.io/npm/v/webpack-compiling-stats-plugin.svg\n[npm-url]: https://npmjs.com/package/webpack-compiling-stats-plugin\n[node]: https://img.shields.io/node/v/webpack-compiling-stats-plugin.svg\n[node-url]: https://nodejs.org\n[deps]: https://img.shields.io/david/MQuy/webpack-compiling-stats-plugin.svg\n[deps-url]: https://david-dm.org/MQuy/webpack-compiling-stats-plugin\n[licenses]: https://img.shields.io/github/license/MQuy/webpack-compiling-stats-plugin.svg\n[licenses-url]: https://github.com/MQuy/webpack-compiling-stats-plugin/blob/master/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmquy%2Fwebpack-compiling-stats-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmquy%2Fwebpack-compiling-stats-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmquy%2Fwebpack-compiling-stats-plugin/lists"}