babel / babel/website

babel/polyfill deprecation notice implies the necessity to include core-js/stable even when useBuiltIns = usage

Open
#2,332 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
777
Forks
1.4k
Avg merge
16h 45m
Merged PRs (30d)
3

Description

This guide here says that instead of using https://babeljs.io/docs/en/usage#polyfill package one should include directly "core-js/stable".

But as I understand if I'm using `"useBuiltIns": "usage"` I should not include "core-js/stable" directly.

Yes, the documentation states that if I'm using @babel/preset-env with useBuiltIns = usage I should not include @babel/polyfill But I was sure it only relates to @babel/polyfill import which is now deprecated.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.