Updated building instructions (#5908) (#5911)

This commit is contained in:
Adel Shah 2017-11-11 14:48:45 -05:00 committed by Iván Sánchez Ortega
parent e04bb8bb1d
commit 39245dced0

View File

@ -90,10 +90,9 @@ Here are the steps to set it up:
1. [Download and install Node](http://nodejs.org)
2. Run the following commands in the command line:
<pre><code>npm install</code></pre>
<pre><code>npm install -g jake
npm install</code></pre>
Now that you have everything installed, run `jake build` inside the Leaflet directory.
Now that you have everything installed, from inside the Leaflet directory, run:
<pre><code>npm run build</code></pre>
This will combine and compress the Leaflet source files, saving the build to the `dist` folder.