{"id":15292272,"url":"https://github.com/cpiber/webpack-bundle-output","last_synced_at":"2025-04-10T11:04:09.618Z","repository":{"id":119473581,"uuid":"400886285","full_name":"cpiber/webpack-bundle-output","owner":"cpiber","description":"A webpack plugin for producing \"inverse source-maps\".","archived":false,"fork":false,"pushed_at":"2025-03-13T21:10:32.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:47:23.020Z","etag":null,"topics":["webpack","webpack-plugin","wordpress-development"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpiber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-08-28T20:40:26.000Z","updated_at":"2025-03-13T22:47:13.000Z","dependencies_parsed_at":"2025-03-24T09:42:02.190Z","dependency_job_id":"2ac5b31a-ff36-4453-bef5-b51745b82394","html_url":"https://github.com/cpiber/webpack-bundle-output","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpiber%2Fwebpack-bundle-output","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpiber%2Fwebpack-bundle-output/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpiber%2Fwebpack-bundle-output/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpiber%2Fwebpack-bundle-output/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpiber","download_url":"https://codeload.github.com/cpiber/webpack-bundle-output/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248207226,"owners_count":21065194,"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","wordpress-development"],"created_at":"2024-09-30T16:17:10.948Z","updated_at":"2025-04-10T11:04:09.613Z","avatar_url":"https://github.com/cpiber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BundleOutputPlugin\n\nBundleOutputPlugin is a webpack plugin for producing \"inverse source-maps\".\n\nThis plugin produces a `map.json` that maps each source file to all the build files it is included in (key source file to build file array).\n\nIt was created for [this issue](https://github.com/wp-cli/i18n-command/issues/282) to implement translating source files for WordPress plugins+themes.\n\n\n## Installation\n\n`npm install --save-dev webpack-bundle-output`\n\n\n## Usage\n\nSimply include BundleOutputPlugin in the plugins array of your `webpack.config.js`:\n\n```js\nconst BundleOutputPlugin = require('webpack-bundle-output');\n\nmodule.exports = {\n  ...,\n  plugins: [new BundleOutputPlugin()],\n  ...,\n}\n```\n\nSince version 1.1.0, this plugin also works properly in production mode.\n\n\n## Options\n\nThe plugin supports two options (`new BundleOutputPlugin({ ... })`):\n\n- `cwd` (string). The working directory, relative to which the map should be. Influences both source and build path. Default: `process.cwd()`\n- `output` (string). The output name/path of the map file in the build directory. Default: `map.json`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpiber%2Fwebpack-bundle-output","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpiber%2Fwebpack-bundle-output","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpiber%2Fwebpack-bundle-output/lists"}