babel / babel/babel-polyfills

Add ability to exclude polyfills for a certain section of code

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
357
Forks
62
PR merge metrics
No merged PRs in 30d

Description

From https://github.com/babel/babel-polyfills/issues/10#issuecomment-623128674 (@pleunv)

> I also suspect (but haven't confirmed) that when a dependency does feature detection with a slow path fallback or provides an inline poly/ponyfill themselves it still includes a polyfill on babel's side. Cases like that you really want to avoid.

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked issue #10 discussion and its referenced comment to understand the proposed scoped exclusion behavior. Identify the project entry points and tests for polyfill injection, then define completion as a reproducible way to exclude polyfills for a selected code section without losing required behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.