Skip to content

How to add pollyfils from es5 to ppro or etc #121

Description

@mir-bskochko

In config, we can set up

jsxPonyfill([
  {
    find: "Array.isArray",
    replace: "__isArray",
    inject: `function __isArray(arr) { try { return arr instanceof Array; } catch (e) { return false; } };`,
  },
])

But If I want to import a group of pollyfills for example from https://polyfill.io/, etc. Can we better implement it? Maybe create a special file and import or how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions