1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
({
optimize: 'none', // Uncomment this property to disable the uglify of the libraries
baseUrl: '',
paths: {
jquery: "jquery-3.4.1.min",
leaflet: "leaflet",
'polylinedecorator': "leafletpolylinedecorator",
'routingmachine': "leafletroutingmachine",
'markerrotate': "markerrotate",
'pathdrag': "pathdrag",
'map':"map"
},
shim: {
leaflet : {
deps : ['jquery'],
exports : 'L'
},
polylinedecorator : {
deps : ['leaflet']
},
routingmachine : {
deps : ['leaflet']
}
},
wrap: {
start: "if (typeof define === 'function' && define.amd){}\nelse if (typeof __visualize__ !== 'undefined' &&\ntypeof __visualize__.define === 'function')\n{\n}\n\n(function(root){\n\nvar define = root.define;\n\n",
end: "\n\n}(typeof __visualize__ != 'undefined' ? __visualize__ : window));"
},
name: "map",
out: "map.min.js"
}) |
Partager