mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
refactor(geomap): use webpack for importing marker icon (closes #1628)
This commit is contained in:
@@ -34,11 +34,6 @@ const config: Configuration = {
|
||||
context: "node_modules/@excalidraw/excalidraw/dist/prod/fonts/",
|
||||
from: "**/*",
|
||||
to: "excalidraw/fonts/"
|
||||
},
|
||||
{
|
||||
context: "node_modules/leaflet/dist/images/",
|
||||
from: "**/*",
|
||||
to: "leaflet/images/"
|
||||
}
|
||||
]
|
||||
})
|
||||
@@ -108,6 +103,10 @@ const config: Configuration = {
|
||||
loader: "sass-loader"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
test: /\.(png)$/i,
|
||||
type: 'asset/resource'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user