Skip to content

Commit

Permalink
webpack: add entry points for old map js code
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk authored and hom3mad3 committed Mar 18, 2024
1 parent 49b81b8 commit 2df1de3
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,25 @@ module.exports = {
],
dependOn: 'adhocracy4'
},
// to be kept until everything uses the new maps
a4maps_display_point: {
import: [
'leaflet/dist/leaflet.css',
'maplibre-gl/dist/maplibre-gl.css',
'adhocracy4/adhocracy4/maps/static/a4maps/a4maps_display_point.js'
],
dependOn: 'adhocracy4'
},
// to be kept until everything uses the new maps
a4maps_display_points: {
import: [
'leaflet/dist/leaflet.css',
'maplibre-gl/dist/maplibre-gl.css',
'leaflet.markercluster/dist/MarkerCluster.css',
'adhocracy4/adhocracy4/maps/static/a4maps/a4maps_display_points.js'
],
dependOn: 'adhocracy4'
},
a4maps_choose_point: {
import: [
'leaflet/dist/leaflet.css',
Expand Down

0 comments on commit 2df1de3

Please sign in to comment.