소스 검색

fix: don't import from element/index to prevent mermaid bundling

Aakansha Doshi 1 년 전
부모
커밋
8ec7801a31
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/excalidraw/scene/export.ts

+ 1 - 1
packages/excalidraw/scene/export.ts

@@ -39,7 +39,7 @@ import {
   getFrameLikeTitle,
   getRootElements,
 } from "../frame";
-import { newTextElement } from "../element";
+import { newTextElement } from "../element/newElement";
 import { Mutable } from "../utility-types";
 import { newElementWith } from "../element/mutateElement";
 import Scene from "./Scene";