All Projects → mc-zone → webpack2-polyfill-plugin

mc-zone / webpack2-polyfill-plugin

Licence: MIT license
Insert polyfills (such as Promise) for Webpack 2

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to webpack2-polyfill-plugin

Es6 Promise Polyfill
ES6 Promise polyfill
Stars: ✭ 99 (+450%)
Mutual labels:  polyfill, promise
Promise Fun
Promise packages, patterns, chat, and tutorials
Stars: ✭ 3,779 (+20894.44%)
Mutual labels:  polyfill, promise
Fetch
A window.fetch JavaScript polyfill.
Stars: ✭ 25,118 (+139444.44%)
Mutual labels:  polyfill, promise
Ts Polyfill
Runtime polyfills for TypeScript libs, powered by core-js! 🔋 🔩
Stars: ✭ 122 (+577.78%)
Mutual labels:  polyfill, promise
Tickedoff
Tiny library (<200B gzip) for deferring something by a "tick"
Stars: ✭ 213 (+1083.33%)
Mutual labels:  polyfill, promise
Promise.allSettled
ES Proposal spec-compliant shim for Promise.allSettled
Stars: ✭ 93 (+416.67%)
Mutual labels:  polyfill, promise
Core Js
Standard Library
Stars: ✭ 15,854 (+87977.78%)
Mutual labels:  polyfill, promise
parcel-plugin-goodie-bag
provides the Promise and fetch goodies needed for IE(11) support w/ parcel bundle loading
Stars: ✭ 15 (-16.67%)
Mutual labels:  polyfill, promise
weakmap-polyfill
ECMAScript6 WeakMap polyfill
Stars: ✭ 25 (+38.89%)
Mutual labels:  polyfill
Polyfill
An artifact repository to assist writing Gradle Plugins for Android build system.
Stars: ✭ 68 (+277.78%)
Mutual labels:  polyfill
wxapp-socket
用于微信小程序socket通信的封装
Stars: ✭ 17 (-5.56%)
Mutual labels:  promise
of
🍬 Promise wrapper with sugar 🍬
Stars: ✭ 13 (-27.78%)
Mutual labels:  promise
retryx
Promise-based retry workflow library.
Stars: ✭ 21 (+16.67%)
Mutual labels:  promise
polyfill-php81
This component provides functions unavailable in releases prior to PHP 8.1.
Stars: ✭ 618 (+3333.33%)
Mutual labels:  polyfill
apns2
Node client for connecting to Apple's Push Notification Service using the new HTTP/2 protocol with JSON web tokens
Stars: ✭ 66 (+266.67%)
Mutual labels:  promise
iframe-worker
A tiny WebWorker polyfill for the file:// protocol
Stars: ✭ 23 (+27.78%)
Mutual labels:  polyfill
ProtoPromise
Robust and efficient library for management of asynchronous operations in C#/.Net.
Stars: ✭ 20 (+11.11%)
Mutual labels:  promise
require-polyfill
Make `require` work in browsers, at runtime. No code bundling needed!
Stars: ✭ 37 (+105.56%)
Mutual labels:  polyfill
Javascript-Interview-Preparation
A curated collection of javascript interview questions & solutions.
Stars: ✭ 163 (+805.56%)
Mutual labels:  polyfill
hermes-js
Universal action dispatcher for JavaScript apps
Stars: ✭ 15 (-16.67%)
Mutual labels:  promise

Webpack2 Polyfill Plugin Build Status npm version

Insert polyfills for Webpack2

Includes:

  • Promise
  • Function.prototype.bind
  • Object.keys
  • Object.defineProperty (defineGetter/defineSetter)

See:What's new in webpack 2

How to use:

step 1. Install

npm install webpack2-polyfill-plugin --save

step 2. Use plugin at your webpack config

var Webpack2Polyfill = require("webpack2-polyfill-plugin");

module.exports = {

  //...

  plugins: [
    new Webpack2Polyfill()
  ]
};

Compatible:

IE.9 and above (Currently)

Why not IE8 ?

IE8 can't use Object.defineProperty with non-DOM Object. So can't do polyfill with some Webpack2 Usage (Ex: Using defineProperty at exports for Harmony Export).

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].