Include JavaScript library in htmlwidget

Hello! I've built a couple htmlwidgets before so I know you can include a JavaScript dependency by pointing to it in your yaml:

dependencies:
  - name: d3
     version: 6.1.1
     src: htmlwidgets/lib/d3
     script: d3.min.js

But in this case the library is minified into a single file. I was wondering if someone could help me figure out how I'd include this library within my widget since it's a modularized library and not a single file? https://github.com/observablehq/stdlib any help appreciated!

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.