From 1c49cb0569a48ebe5622bdea61354635cc47f8bf Mon Sep 17 00:00:00 2001 From: Panagiotis Papadopoulos Date: Thu, 27 Mar 2025 23:53:08 +0100 Subject: [PATCH] build(webpack): fix copy-to path name this will now end up in "src/public/app-dist/excalidraw/fonts/" excalidraw *needs* the fonts to be in a folder called "fonts" as it appends the "EXCALIDRAW_ASSET_PATH" variable with "fonts" automatically -> therefore switch names around to fix the issue --- webpack.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.ts b/webpack.config.ts index 0f39ea556..92bb2337b 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -33,7 +33,7 @@ const config: Configuration = { { context: "node_modules/@excalidraw/excalidraw/dist/prod/fonts/", from: "**/*", - to: "fonts/excalidraw/" + to: "excalidraw/fonts/" } ] })