Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluding es.json.stringify does not work #180

Open
mohd-akram opened this issue Sep 17, 2023 · 0 comments · May be fixed by #181
Open

Excluding es.json.stringify does not work #180

mohd-akram opened this issue Sep 17, 2023 · 0 comments · May be fixed by #181

Comments

@mohd-akram
Copy link

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({});
@mohd-akram mohd-akram linked a pull request Sep 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant