Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

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