{"id":15018971,"url":"https://github.com/soundcloud/move-to-parent-merging-webpack-plugin","last_synced_at":"2025-10-19T16:32:11.569Z","repository":{"id":20336371,"uuid":"23610901","full_name":"soundcloud/move-to-parent-merging-webpack-plugin","owner":"soundcloud","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-09T20:59:13.000Z","size":8,"stargazers_count":19,"open_issues_count":0,"forks_count":3,"subscribers_count":171,"default_branch":"master","last_synced_at":"2025-01-29T21:23:53.407Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/soundcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-03T07:31:27.000Z","updated_at":"2021-12-14T09:02:45.000Z","dependencies_parsed_at":"2022-07-25T12:33:21.879Z","dependency_job_id":null,"html_url":"https://github.com/soundcloud/move-to-parent-merging-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fmove-to-parent-merging-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fmove-to-parent-merging-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fmove-to-parent-merging-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soundcloud%2Fmove-to-parent-merging-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soundcloud","download_url":"https://codeload.github.com/soundcloud/move-to-parent-merging-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237172118,"owners_count":19266614,"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-09-24T19:52:41.417Z","updated_at":"2025-10-19T16:32:11.286Z","avatar_url":"https://github.com/soundcloud.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MoveToParentMergingPlugin\nA simple merging plugin that attempts to lift modules required by several child chunks up to the parent chunk. This is mostly useful if you are code-splitting your bundles into one primary (entry) chunk and several smaller chunks that all have similar dependencies.\n\nModules will only be moved from a chunk if, for *all chunks that contain that module*, there is a common parent chunk.\n\nThere is a simple [example][1] in the repo to illustrate how this works.\n\n## Usage\nInstall with npm:\n\n```shell\nnpm install move-to-parent-merging-webpack-plugin\n```\n\nThen, use as a plugin in your `webpack.config.js`:\n\n```javascript\nvar MoveToParentMergingPlugin = require('move-to-parent-merging-webpack-plugin');\n\nmodule.exports = {\n    \n    ... your config ...\n\n    plugins: [\n        new MoveToParentMergingPlugin();\n    ]\n};\n```\n\n### MoveToParentMerginPlugin([chunkCount])\nThe plugin can optionally take an argument that specifies how many chunks must contain a module for it to be considered \"common\" enough to be lifted to a parent chunk. Default = `2` (aggressive.)\n\n[1]: example/webpack.config.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fmove-to-parent-merging-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoundcloud%2Fmove-to-parent-merging-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoundcloud%2Fmove-to-parent-merging-webpack-plugin/lists"}