[fix] Corejs imports (#2940)

This PR fixes a bug with corejs imports. See
https://github.com/tldraw/tldraw/issues/1947

### Change Type

- [x] `patch` — Bug fix

### Release Notes

- Fixes a bug effecting some users related to corejs imports.
This commit is contained in:
Steve Ruiz 2024-02-23 17:36:27 +00:00 committed by GitHub
parent 7a09581081
commit 0f1599d5b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -363,8 +363,8 @@ export { openWindow } from './lib/utils/window-open'
/** @polyfills */
import 'core-js/stable/array/at'
import 'core-js/stable/array/flat'
import 'core-js/stable/array/flat-map'
import 'core-js/stable/string/at'
import 'core-js/stable/string/replace-all'
import 'core-js/stable/array/at.js'
import 'core-js/stable/array/flat-map.js'
import 'core-js/stable/array/flat.js'
import 'core-js/stable/string/at.js'
import 'core-js/stable/string/replace-all.js'