perliedman / leaflet-routing-machine

Control for routing in Leaflet
https://www.liedman.net/leaflet-routing-machine/
Other
1.06k stars 347 forks source link

Generate leaflet-routing-machine.js #616

Closed oskaresparza closed 3 years ago

oskaresparza commented 3 years ago

Hi there,

I modified the file src/OSRM-v1.js and I want to regenerate the leaflet-routing-machine.js file. I tried npm and bower with no success. Could you please explain how to do this?

Thanks in advance. Oskar.

perliedman commented 3 years ago

Hi!

Running npm install will build leaflet-routing-machine.js and other required files and put htem in the dist directory.