{"id":21878852,"url":"https://github.com/moduscreateorg/webpack-gimbal-plugin","last_synced_at":"2026-05-01T21:32:30.523Z","repository":{"id":40747918,"uuid":"185988388","full_name":"ModusCreateOrg/webpack-gimbal-plugin","owner":"ModusCreateOrg","description":"Webpack plugin that utilizes Gimbal to maintain performance budgets","archived":false,"fork":false,"pushed_at":"2023-07-11T23:44:32.000Z","size":315,"stargazers_count":0,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-28T06:53:53.423Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ModusCreateOrg.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":"2019-05-10T12:55:20.000Z","updated_at":"2020-04-04T15:51:14.000Z","dependencies_parsed_at":"2024-09-25T14:26:59.511Z","dependency_job_id":"ca222124-f2b8-4372-8351-be3f887f0b71","html_url":"https://github.com/ModusCreateOrg/webpack-gimbal-plugin","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"c8f52a1faad0111a728e4c37044dc3be8edded51"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fwebpack-gimbal-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fwebpack-gimbal-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fwebpack-gimbal-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ModusCreateOrg%2Fwebpack-gimbal-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ModusCreateOrg","download_url":"https://codeload.github.com/ModusCreateOrg/webpack-gimbal-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244885697,"owners_count":20526296,"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-11-28T08:13:56.344Z","updated_at":"2025-10-26T21:01:39.936Z","avatar_url":"https://github.com/ModusCreateOrg.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n[![MIT Licensed](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](./LICENSE)\n[![Powered by Modus_Create](https://img.shields.io/badge/powered_by-Modus_Create-blue.svg?longCache=true\u0026style=flat\u0026logo=data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIwIDMwMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNOTguODI0IDE0OS40OThjMCAxMi41Ny0yLjM1NiAyNC41ODItNi42MzcgMzUuNjM3LTQ5LjEtMjQuODEtODIuNzc1LTc1LjY5Mi04Mi43NzUtMTM0LjQ2IDAtMTcuNzgyIDMuMDkxLTM0LjgzOCA4Ljc0OS01MC42NzVhMTQ5LjUzNSAxNDkuNTM1IDAgMCAxIDQxLjEyNCAxMS4wNDYgMTA3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Ny4wMDguMjgyLjAwOCA1NC41NTcgMCA5OS42NjUtNDAuMzczIDEwNy4xMy05Mi44Njh6IiBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz4KPC9zdmc+)](https://moduscreate.com)\n\n# Webpack Gimbal Plugin\n\n[Gimbal](https://github.com/ModusCreateOrg/gimbal) integration for Webpack. Uses the same [configuration](https://github.com/ModusCreateOrg/gimbal/#configuration) as Gimbal to simplify performance budgeting in production builds.\n\n## Getting Started\n\nYou can install Gimbal globally using `npm` or `yarn`:\n\n```sh\n# with npm\nnpm install webpack-gimbal-plugin\n\n# or with yarn\nyarn add webpack-gimbal-plugin\n```\n\nAdd it to your Webpack configuration as you would with any other plugin:\n\n```js\nvar GimbalPlugin = require('webpack-gimbal-plugin');\n\n{\n  plugins: [new GimbalPlugin()];\n}\n```\n\n## Configuration\n\nGimbal emits a warning or an error to a webpack compilation. It defaults to a warning for each failed audit. You can change that to an error by setting `bail: true` in GimbalPlugin configuration.\n\n```js\n{\n  plugins: [\n    // Emit errors for failed audits\n    new GimbalPlugin({ bail: true }),\n  ];\n}\n```\n\nNote: webpack config also uses `bail` configuration to break execution on errors. GimbalPlugin uses the same verbiage, but it will not bubble up to Webpack's config. It's entirely isolated to this usecase.\n\n### Gimbal Configuration Example\n\nYou can use [Gimbal configuration](https://github.com/ModusCreateOrg/gimbal/#configuration) in `.gimbalrc.yml` like the following:\n\n```yaml\nconfigs:\n  heap-snapshot:\n    threshold:\n      Documents: 5\n      Frames: 2\n      JSHeapTotalSize: 23356000\n      JSHeapUsedSize: 15068000\n      Nodes: 800\n      RecalcStyleCount: 9\n  lighthouse:\n    threshold:\n      accessibility: 93\n      'best-practices': 90\n      performance: 50\n      pwa: 75\n      seo: 100\n  size:\n    - path: ./build/precache-*.js\n      maxSize: 500 B\n    - path: ./build/static/js/*.chunk.js\n      maxSize: 1 MB\n    - path: ./build/static/js/runtime*.js\n      maxSize: 10 KB\n    - path: ./build/\n      maxSize: 18 MB\n```\n\n## Questions and Support\n\nIf you have a problem running Gimbal, [please submit an issue](./issues). The more information you give us the faster we can get back with a good answer.\n\n## Modus Create\n\n[Modus Create](https://moduscreate.com) is a digital product consultancy. We use a distributed team of the best talent in the world to offer a full suite of digital product design-build services; ranging from consumer facing apps, to digital migration, to agile development training, and business transformation.\n\n[![Modus Create](https://res.cloudinary.com/modus-labs/image/upload/h_80/v1533109874/modus/logo-long-black.png)](https://moduscreate.com)\n\nThis project is part of [Modus Labs](https://labs.moduscreate.com).\n\n[![Modus Labs](https://res.cloudinary.com/modus-labs/image/upload/h_80/v1531492623/labs/logo-black.png)](https://labs.moduscreate.com)\n\n## Licensing\n\nThis project is [MIT licensed](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoduscreateorg%2Fwebpack-gimbal-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoduscreateorg%2Fwebpack-gimbal-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoduscreateorg%2Fwebpack-gimbal-plugin/lists"}