Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 387 Bytes

File metadata and controls

12 lines (8 loc) · 387 Bytes

Examples

polyfill-plan is an independent package. It is not affiliated with babel-polyfill or its maintainers.

babel-polyfill to polyfill-plan

import { createPolyfillPlan, generatePolyfillEntry } from "polyfill-plan";

const plan = createPolyfillPlan({ features: ["promise", "array-from"], regenerator: true });
const entrySource = generatePolyfillEntry(plan);