Skip to content

Excluding es.json.stringify does not work #180

Open
@mohd-akram

Description

Config:

{
  "plugins": [
    ["polyfill-corejs3", { "method": "usage-pure", "exclude": ["es.json.stringify"] }]
  ]
}

Input:

JSON.stringify({});

Expected output:

JSON.stringify({});

Actual output:

import _JSON$stringify from "core-js-pure/stable/json/stringify.js";
_JSON$stringify({});

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions