mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
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:
parent
ee2ee2c291
commit
1c49cb0569
@ -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/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user