{"id":20016880,"url":"https://github.com/mc-zone/webpack2-polyfill-plugin","last_synced_at":"2025-05-04T22:31:46.637Z","repository":{"id":65412553,"uuid":"67972340","full_name":"mc-zone/webpack2-polyfill-plugin","owner":"mc-zone","description":"Insert polyfills (such as Promise) for Webpack 2 ","archived":false,"fork":false,"pushed_at":"2017-02-10T02:45:02.000Z","size":24,"stargazers_count":18,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T08:04:42.032Z","etag":null,"topics":["polyfill","promise","webpack"],"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/mc-zone.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-09-12T03:25:41.000Z","updated_at":"2023-08-22T11:35:01.000Z","dependencies_parsed_at":"2023-01-22T08:05:31.574Z","dependency_job_id":null,"html_url":"https://github.com/mc-zone/webpack2-polyfill-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mc-zone%2Fwebpack2-polyfill-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mc-zone%2Fwebpack2-polyfill-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mc-zone%2Fwebpack2-polyfill-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mc-zone%2Fwebpack2-polyfill-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mc-zone","download_url":"https://codeload.github.com/mc-zone/webpack2-polyfill-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252408344,"owners_count":21743097,"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":["polyfill","promise","webpack"],"created_at":"2024-11-13T08:13:31.204Z","updated_at":"2025-05-04T22:31:46.215Z","avatar_url":"https://github.com/mc-zone.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webpack2 Polyfill Plugin [![Build Status](https://travis-ci.org/mc-zone/webpack2-polyfill-plugin.svg?branch=master)](https://travis-ci.org/mc-zone/webpack2-polyfill-plugin) [![npm version](https://badge.fury.io/js/webpack2-polyfill-plugin.svg)](http://badge.fury.io/js/webpack2-polyfill-plugin) \n\nInsert polyfills for Webpack2\n\n## Includes:\n* Promise\n* Function.prototype.bind\n* Object.keys\n* Object.defineProperty (__defineGetter__/__defineSetter__)\n\nSee:[What's new in webpack 2](https://gist.github.com/sokra/27b24881210b56bbaff7?utm_source=javascriptweekly\u0026amp;utm_medium=email#minor-breaking-changes)\n\n## How to use:\n\nstep 1. Install\n\n`npm install webpack2-polyfill-plugin --save`\n\nstep 2. Use plugin at your webpack config\n\n```javascript\nvar Webpack2Polyfill = require(\"webpack2-polyfill-plugin\");\n\nmodule.exports = {\n\n  //...\n\n  plugins: [\n    new Webpack2Polyfill()\n  ]\n};\n```\n\n## Compatible:\n\nIE.9 and above (Currently)\n\n## Why not IE8 ?\n\nIE8 can't use Object.defineProperty with non-DOM Object. So can't do polyfill with some [Webpack2 Usage](https://gist.github.com/sokra/27b24881210b56bbaff7?utm_source=javascriptweekly\u0026amp;utm_medium=email#other-polyfills) (Ex: Using defineProperty at `exports` for Harmony Export).\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmc-zone%2Fwebpack2-polyfill-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmc-zone%2Fwebpack2-polyfill-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmc-zone%2Fwebpack2-polyfill-plugin/lists"}