chore: rm vendors/ dir before collecting vendors

This commit is contained in:
Yohan Boniface 2024-02-09 18:44:00 +01:00
parent f460b39dae
commit a767353706

View file

@ -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/