浏览代码

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";