diff --git a/excalidraw-app/components/DebugCanvas.tsx b/excalidraw-app/components/DebugCanvas.tsx index e83a62647..7f2a69cb7 100644 --- a/excalidraw-app/components/DebugCanvas.tsx +++ b/excalidraw-app/components/DebugCanvas.tsx @@ -18,7 +18,7 @@ import { } from "@excalidraw/math"; import { isCurve } from "@excalidraw/math/curve"; -import type { DebugElement } from "@excalidraw/excalidraw/visualdebug"; +import type { DebugElement } from "@excalidraw/common"; import type { Curve } from "@excalidraw/math"; diff --git a/packages/common/src/index.ts b/packages/common/src/index.ts index d896ba98e..cbce534fe 100644 --- a/packages/common/src/index.ts +++ b/packages/common/src/index.ts @@ -9,3 +9,4 @@ export * from "./promise-pool"; export * from "./random"; export * from "./url"; export * from "./utils"; +export * from "./visualdebug"; diff --git a/packages/excalidraw/visualdebug.ts b/packages/common/src/visualdebug.ts similarity index 100% rename from packages/excalidraw/visualdebug.ts rename to packages/common/src/visualdebug.ts