marimo
marimo copied to clipboard
Anywidget static assets
Hi,
I thought anywidget + marimo looked very interesting and wanted try to ingrate cornerstonejs, a medical image viewing component. I can create a _esm bundle that works to an extent, but it requires webworkers that it tries to load from new Worker(new URL("./decodeImageFrameWorker.js", import.meta.url), { type: "module" }); This resolves to /@files/decodeImageFrameWorker.js. This @file seems to be marimo's way to access "data outputs". What is the recommended way to access static assets like images/workers/etc? Am I missing something?