Import .wasm files #6494
tel
started this conversation in
Feature Requests
Replies: 2 comments 14 replies
-
This is a question for Observable. |
Beta Was this translation helpful? Give feedback.
3 replies
-
A bit more thinking about this, the modules are loaded browserside so there's no |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
It'd be excellent to be able to import .wasm modules in ojs blocks. Currently there's an "Unknown language in file ..." error that arises when importing a wasm module or even a Javascript file providing a shim around a wasm module.
My particular use case is to be able to import models that I've written in Rust into Quarto in order to execute them interactively. To that end, I'm using the
wasm-pack
tool to output.wasm
files and auto-generated shim.js
modules.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions