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
This commit is contained in:
Panagiotis Papadopoulos 2025-03-27 23:53:08 +01:00
parent ee2ee2c291
commit 1c49cb0569

View File

@ -33,7 +33,7 @@ const config: Configuration = {
{ {
context: "node_modules/@excalidraw/excalidraw/dist/prod/fonts/", context: "node_modules/@excalidraw/excalidraw/dist/prod/fonts/",
from: "**/*", from: "**/*",
to: "fonts/excalidraw/" to: "excalidraw/fonts/"
} }
] ]
}) })