issue_tree
    Preparing search index...

    Function loadHtmlAssets

    • Lazily load the real HTML assets the html render format needs. Reads the client bundle from beside the built CLI entry point, and reads the viz.js IIFE browser-global build from @viz-js/viz/dist/viz-global.js.

      The package's default export (dist/viz.js) is an ESM module with embedded binary WASM bytes; it cannot run in a bare <script> tag and does not set window.Viz. The sibling viz-global.js is the IIFE browser-global build that sets globalThis.Viz (i.e. window.Viz in a browser), which is what the HTML controller calls.

      Returns void

      loadHtmlAssets();