Observable JS doesn't seem to work without network connectivity because dependencies are pulled in at runtime (e.g., `htl`). 

Haven't explored this in depth, but it seems that for recommended libraries like Inputs, I can download a local copy and require from an OJS chunk (since these get inlined?). But this doesn't work with `htl`, which might be needed earlier by the runtime. If this is complicated, perhaps there could be an option to include a "heavyweight" stdlib with all dependencies bundled (regardless of whether they're used or not) in the short-term?

More generally, it'd be nice if all JS/Observable dependencies were inlined for a self-contained document, rather than just the local ones... it seems this can be worked around by fetching local copies, but it's a bit cumbersome, and automating it behind the scenes would make code a little more immediately portable between QbservableHQ and Quarto. 

I'm running Quarto 1.0.23. 

Thanks so much for the awesome work and creating this amazing tool!
cscheid
2022-07-15T17:45:01Z
arbelt
enhancement ojs-engine
Future
open
Documents using Observable JS are not self-contained
https://github.com/quarto-dev/quarto-cli/issues/1412