Explorar o código

add utils to external

Aakansha Doshi hai 1 ano
pai
achega
549786a504
Modificáronse 2 ficheiros con 2 adicións e 1 borrados
  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;
   renderEmbeddables?: boolean;
 }): Promise<SVGSVGElement> => {
-  console.log("HIIII TGEREE122");
+  console.log("HIIII FROM UTILS WORKSPACE");
 
   const { elements: restoredElements, appState: restoredAppState } = restore(
     { elements, appState },

+ 1 - 0
scripts/buildExample.mjs

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