twitter / twitter-text

Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform.
https://developer.twitter.com/en/docs/counting-characters
Apache License 2.0
3.07k stars 510 forks source link

Update polyfilling with core-js #363

Open GertSallaerts opened 2 years ago

GertSallaerts commented 2 years ago

Problem

Would also resolve #342

Solution

By using the new Babel Polyfills we can include modern and pure polyfills based on the targets config (none is specified in twitter-text so it will use the default) in the root of babel config.

CLAassistant commented 2 years ago

CLA assistant check
All committers have signed the CLA.