How to compile the latest source from GitHub - Javascript

How do I compile and create my own plotly.min file? There has been a feature recently that hasn’t been officially released yet.

Thanks.

  • Fork https://github.com/plotly/plotly.js
  • Git clone your fork onto your machine
  • cd into it
  • run npm install
  • run npm run build (this one might take 5 minutes to run)
  • grab the plotly.js bundle of your needs in the dist/ folder