Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 386 Bytes

HOW-TO-BUILD.md

File metadata and controls

12 lines (10 loc) · 386 Bytes
  1. git clone --branch v1.8.1 https://github.com/mapbox/mapbox-gl-js.git
  2. cd mapbox-gl-js
  3. npm install

NOTE) if the installation fails on windows, open a new terminal as adminstrator and run npm install --global windows-build-tools

  1. npm i yarn
  2. to build the js file 'dist/mapbox-gl.js' yarn run build-prod-min
  3. to build the css file 'dist/mapbox-gl.css' yarn run build-css