create-react-app icon indicating copy to clipboard operation
create-react-app copied to clipboard

Importing core-js doesn't seem to polyfill anything

Open Dorious opened this issue 2 years ago • 3 comments

I'm trying to polyfill .at and it doesn't seem to work import 'core-js/stable/array/at'; and Array.prototype.at is still undefined.

Anybody had this issue?

Dorious avatar Apr 13 '23 09:04 Dorious

I believe this is related to https://github.com/facebook/create-react-app/issues/8779. We fixed this via export * from 'core-js/stable/array/at';

niksauer avatar May 09 '23 12:05 niksauer

Thanks so much @niksauer, I was pulling my hair out.

Nantris avatar May 20 '23 19:05 Nantris

+11111111111111111111111111111111

Ryuurock avatar Dec 27 '23 06:12 Ryuurock