[openspending, maps][m]: fix build for leaflet map

This commit is contained in:
João Demenech
2023-07-06 17:13:37 -03:00
parent 5e72711629
commit 299477a717
11 changed files with 51 additions and 44 deletions

View File

@@ -0,0 +1,6 @@
const fs = require('fs');
const path = require('path');
const leafletPath = path.join(require.resolve('leaflet'), '../')
fs.cpSync(`${leafletPath}images`,'./dist/images', { recursive: true });