You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @MartinKavik! Excellent question. I've actually made really great progress on #46 and I'm getting close to being able to merge the code I've got so far to be able to start a clean implementation of the last bits of #46.
Any way, the syntax I've landed on is just a little different. I'll request for your review on the PR along with a few other folks just to get some feedback.
How can I change the init script location in index.html?
Right now the answer is: you can't :'( However, as I get closer to finishing up the PR that I'm currently hacking on, you will be able to specify things like that.
Essentially what the behavior will be is that as assets are processed, their HTML output will replace the HTML element which was responsible for spawning the pipeline. So if you declare your <link data-trunk rel="rust"/> link in the body (this is the syntax which I've pretty much landed on) then the output wasm/JS loader script will be placed in the body as well.
Hopefully that helps. I'll keep you posted as I move closer to finishing this up.
How can I change the init script location in
index.html
?(Is it possible? Did I overlook something in README?)
Input:
(I've copy-pasted
trunk-link
from #46)Expected output:
Thanks!
The text was updated successfully, but these errors were encountered: