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
pull/1537/head
Panagiotis Papadopoulos 2025-03-27 23:53:08 +07:00
parent ee2ee2c291
commit 1c49cb0569
1 changed files with 1 additions and 1 deletions

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