Aakansha Doshi преди 1 година
родител
ревизия
549786a504
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 1
      packages/utils/export.ts
  2. 1 0
      scripts/buildExample.mjs

+ 1 - 1
packages/utils/export.ts

@@ -171,7 +171,7 @@ export const exportToSvg = async ({
   exportPadding?: number;
   exportPadding?: number;
   renderEmbeddables?: boolean;
   renderEmbeddables?: boolean;
 }): Promise<SVGSVGElement> => {
 }): Promise<SVGSVGElement> => {
-  console.log("HIIII TGEREE122");
+  console.log("HIIII FROM UTILS WORKSPACE");
 
 
   const { elements: restoredElements, appState: restoredAppState } = restore(
   const { elements: restoredElements, appState: restoredAppState } = restore(
     { elements, appState },
     { elements, appState },

+ 1 - 0
scripts/buildExample.mjs

@@ -13,6 +13,7 @@ const createDevBuild = async () => {
     bundle: true,
     bundle: true,
     format: "esm",
     format: "esm",
     plugins: [sassPlugin()],
     plugins: [sassPlugin()],
+    external: ["@excalidraw/utils"],
     loader: {
     loader: {
       ".woff2": "dataurl",
       ".woff2": "dataurl",
       ".html": "copy",
       ".html": "copy",