* [components,maps][l]: implements Leaflet map component -- #963 * [openspending, maps][m]: fix build for leaflet map * Feature/openlayers map (#967) * [maps][xl] - working with swc equals to minify * [maps][xs] - fixing height * [openspending][xs] - testing * [openspending][xs] - testing * [openspending][xs] - change order drd * [openspending][xs] - add map * [maps,tests][xs]: add default export to OpenLayers component * [@portaljs/components][m] - map components --------- Co-authored-by: João Demenech <joaommdemenech@gmail.com>
7 lines
195 B
JavaScript
7 lines
195 B
JavaScript
const fs = require('fs');
|
|
const path = require('path');
|
|
|
|
const leafletPath = path.join(require.resolve('leaflet'), '../')
|
|
|
|
fs.cpSync(`${leafletPath}images`,'./dist/images', { recursive: true });
|