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
So those functions are for compiling one Svelte file. I'm guessing in Plenti, you'll want to support imports as well. To do that you'll need to wrap those functions as plugins in ESBuild to get one large blob of bundle JS.
Hi @matthewmueller!
I was exploring how I might leverage your V8 / Svelte compilation in Plenti. Your API is really nicely written 👌
Simple example compiling Svelte files from a "templates" folder to an "output" folder
My question: Is there a way to run Component.render(props) from your
svelte
package to generate HTML? Thank you!Related issues:
The text was updated successfully, but these errors were encountered: