diff --git a/scripts/vendorsjs.sh b/scripts/vendorsjs.sh index 02bdab01..39f8f097 100755 --- a/scripts/vendorsjs.sh +++ b/scripts/vendorsjs.sh @@ -1,4 +1,5 @@ #!/usr/bin/env sh +rm -rf umap/static/umap/vendors/ mkdir -p umap/static/umap/vendors/leaflet/ && cp -r node_modules/leaflet/dist/** umap/static/umap/vendors/leaflet/ mkdir -p umap/static/umap/vendors/editable/ && cp -r node_modules/leaflet-editable/src/Leaflet.Editable.js umap/static/umap/vendors/editable/