From de4b9635c6b1c0b7144de0bb3ae25c0b46e4e6e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Cournoyer?= Date: Wed, 8 Jan 2025 10:44:33 -0500 Subject: [PATCH] Ignore typescipt error for conditional in resolveSpeedscope --- packages/theme/src/cli/services/profile.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/theme/src/cli/services/profile.ts b/packages/theme/src/cli/services/profile.ts index 4993277d0d..718c24137d 100644 --- a/packages/theme/src/cli/services/profile.ts +++ b/packages/theme/src/cli/services/profile.ts @@ -47,6 +47,7 @@ export async function profile( } async function resolveSpeedscope() { + // @ts-ignore if (import.meta.resolve) { return import.meta.resolve('speedscope/dist/release/index.html') } else {