refactor(geomap): use webpack for importing marker icon (closes #1628)

This commit is contained in:
Elian Doran
2025-04-04 14:02:34 +03:00
parent 4c05c8ab5e
commit ab0213fc3f
3 changed files with 14 additions and 9 deletions

View File

@@ -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'
}
]
},