Open coatless opened 9 months ago
I don't think we have a way to produce the list of uploaded files to a publishing target (but we should!)
This issue is also biting documents with shinylive
, c.f.
https://coatless-quarto.github.io/r-shinylive-demo/
Edit after some hacking:
Well... Looks like if I add the resources
key into the HTML file this ensures the service worker is uploaded. Could the add_html_dependency()
not be syncing with the resources
key?
html:
resources:
- shinylive-sw.js
Bug description
The issue is an elevation of the original discussion post regarding supplementary files and quarto pub, c.f. https://github.com/quarto-dev/quarto-cli/discussions/6487
So, I've tried to publish a demo Qmd file onto Quarto pub with the updated structure now; but, even with using
quarto.doc.add_html_dependency()
, I'm getting a similar error on page load.You can see the document here:
https://coatless.quarto.pub/webr-enabled-code-cells/
Is there a way to see what files are being uploaded onto Quarto Pub? Or what files are present with a quarto.pub site?
I published to https://quarto.pub using the publishing command with
QUARTO_PUB_AUTH_TOKEN
.Steps to reproduce
In particular, we have:
Gives:
This was built and published using
quarto-1.4.358
andquarto-webr
@ v0.3.2Expected behavior
Ideally, the javascript service workers generated --
webr-serviceworkers.js
andwebr-workers.js
-- should be present on Quarto pub. When files are being uploaded onto Quarto pub, it would be great to be able to also see a list of whats being sent. Similarly, it would be good to understand the files being stored on quarto.pub.Actual behavior
The javascript service workers are not available on quarto pub.
Your environment
Quarto check output