{"id":26793339,"url":"https://github.com/gitim/empty-module-webpack-plugin","last_synced_at":"2026-05-17T18:02:51.926Z","repository":{"id":57224956,"uuid":"65331138","full_name":"gitim/empty-module-webpack-plugin","owner":"gitim","description":"webpack plugin","archived":false,"fork":false,"pushed_at":"2016-08-09T22:00:18.000Z","size":1,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T20:42:31.691Z","etag":null,"topics":["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/gitim.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":"2016-08-09T22:00:06.000Z","updated_at":"2024-10-19T17:43:24.000Z","dependencies_parsed_at":"2022-08-24T11:01:06.111Z","dependency_job_id":null,"html_url":"https://github.com/gitim/empty-module-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gitim/empty-module-webpack-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitim%2Fempty-module-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitim%2Fempty-module-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitim%2Fempty-module-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitim%2Fempty-module-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitim","download_url":"https://codeload.github.com/gitim/empty-module-webpack-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitim%2Fempty-module-webpack-plugin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264373775,"owners_count":23598080,"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":["webpack","webpack-plugin"],"created_at":"2025-03-29T16:30:07.850Z","updated_at":"2026-05-17T18:02:51.826Z","avatar_url":"https://github.com/gitim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Empty module plugin for webpack\n\n## Usage\n\nReplaces the module of the request that matches `resourceRegExp` with an empty module.\nIf the second argument `source` is specified, it will be used as the source of the new module. If the `source` is a function, it will be called with the `request` and the result will be used as the source of the module.\n\n```js\nnew EmptyModulePlugin(resourceRegExp)\n\nnew EmptyModulePlugin(resourceRegExp, '/* was replaced with empty module */')\n\nnew EmptyModulePlugin(resourceRegExp, (request) =\u003e '/* ' + request + ' was ignored */')\n```\n\n## License\n\nMIT (http://www.opensource.org/licenses/mit-license.php)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitim%2Fempty-module-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitim%2Fempty-module-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitim%2Fempty-module-webpack-plugin/lists"}