react-component / react-component/tooltip

Remove babel-runtime requirement

Open
#144 0 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
944
Forks
199
Avg merge
19h 1m
Merged PRs (30d)
3

Description

Hi,

When we use this component, it forces us to bundle core-js (~15kb), even when we don't want to compile for a fully ES6 environment. Can we remove the this requirement, which I believe comes from: --babel-runtime here

Linking to: https://github.com/ant-design/ant-design-mobile/issues/2766

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at package.json line 44, where the issue identifies the --babel-runtime requirement, and review how the tooltip package declares its build dependencies. Check the linked ant-design-mobile issue for context. Done means the package no longer forces consumers to bundle core-js while the package remains installable and usable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, typescript
Domain
build-system, tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.