add utils to external

This commit is contained in:
Aakansha Doshi 2024-05-06 15:15:48 +05:30
parent 73c53a3c7c
commit 549786a504
2 changed files with 2 additions and 1 deletions

View File

@ -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 },

View File

@ -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",