From 0f1599d5b338bc0f896ed319ab52e9eee42f2661 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Fri, 23 Feb 2024 17:36:27 +0000 Subject: [PATCH] [fix] Corejs imports (#2940) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- packages/editor/src/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/editor/src/index.ts b/packages/editor/src/index.ts index 341f412b3..a273b3a73 100644 --- a/packages/editor/src/index.ts +++ b/packages/editor/src/index.ts @@ -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'