{"id":15437679,"url":"https://github.com/ndelangen/corejs-upgrade-webpack-plugin","last_synced_at":"2025-04-19T18:26:57.193Z","repository":{"id":57209432,"uuid":"191363371","full_name":"ndelangen/corejs-upgrade-webpack-plugin","owner":"ndelangen","description":"A webpack plugin to auto upgrade core-js references to the latest version","archived":false,"fork":false,"pushed_at":"2020-05-25T08:19:12.000Z","size":506,"stargazers_count":11,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T21:38:41.795Z","etag":null,"topics":["core-js","plugin","webpack"],"latest_commit_sha":null,"homepage":null,"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/ndelangen.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}},"created_at":"2019-06-11T12:04:01.000Z","updated_at":"2023-09-01T11:19:53.000Z","dependencies_parsed_at":"2022-09-01T08:41:51.286Z","dependency_job_id":null,"html_url":"https://github.com/ndelangen/corejs-upgrade-webpack-plugin","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndelangen%2Fcorejs-upgrade-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndelangen%2Fcorejs-upgrade-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndelangen%2Fcorejs-upgrade-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndelangen%2Fcorejs-upgrade-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndelangen","download_url":"https://codeload.github.com/ndelangen/corejs-upgrade-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249238461,"owners_count":21235652,"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":["core-js","plugin","webpack"],"created_at":"2024-10-01T18:58:26.003Z","updated_at":"2025-04-16T12:30:37.868Z","avatar_url":"https://github.com/ndelangen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⛔️ DEPRECATED\n\n***This module is deprecated. It is adviced not to use this module!***\n\nUsing this module could easily result in difficult to debug errors.\n\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\u003cbr\u003e\n\n__Original description:__\n\n# CoreJS Upgrade Webpack Plugin\n\nI wrote this to ensure the latest version of core-js is used everywhere in an application.\n\nSometimes you're depending on components or libraries that haven't updated yet, and this can increase bundle-size, or even break your app if these dependencies didn't have core-js as a dependency themselves.\n\nThis Webpack Plugin will essentially do a search and replace on all requires and if the require path matches `/core-js/` it will try and resolve the require.\nIf it can, nothing happens. If the resolve fails (this would normally break your app) this plugin tries to map the old core-js path to the new path structure, and resolve that instead.\n\nThis plugin will allow you to specify a `resolveFrom` option, so you can resolve core-js from any path you'd like.\nThis is useful if you know there are going to be multiple core-js version installed, and you want to pick a specific one installed somewhere.\n\n## Install\n\n```sh\nyarn add corejs-upgrade-webpack-plugin\n```\n\n## Usage\n\nsimple example:\n\n```js\nimport CoreJSUpgradeWebpackPlugin from 'corejs-upgrade-webpack-plugin';\n\n// add this to your webpack.plugins config\nnew CoreJSUpgradeWebpackPlugin();\n```\n\nexample with options:\n\n```js\nimport CoreJSUpgradeWebpackPlugin from 'corejs-upgrade-webpack-plugin';\n\n// add this to your webpack.plugins config\nnew CoreJSUpgradeWebpackPlugin({\n  resolveFrom: [process.cwd()],\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndelangen%2Fcorejs-upgrade-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndelangen%2Fcorejs-upgrade-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndelangen%2Fcorejs-upgrade-webpack-plugin/lists"}