Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapter static but with Deno support? #6

Open
janosh opened this issue Jul 25, 2021 · 4 comments
Open

Adapter static but with Deno support? #6

janosh opened this issue Jul 25, 2021 · 4 comments

Comments

@janosh
Copy link

janosh commented Jul 25, 2021

Feel free to close if this is considered off-topic.

Can you offer any guidance on how to setup SvelteKit in such a way as to run builds with Deno but get the output produced by adapter-static? Instead of a Deno server, I'd like to end up with static HTML files but built with TypeScript end to end.

@jpaquim
Copy link
Contributor

jpaquim commented Jul 25, 2021

So you mean using Deno to run SvelteKit itself, right? From what I understand, this would be non-trivial, as it would require Deno-based alternatives to SvelteKit's dependencies, in particular vite (see the upstream issue for Deno support: vitejs/vite#109).

It might be possible to do it with Deno's Node compatibility library (https://deno.land/[email protected]/node/README.md), but I'm not sure I want to go down that route.

I'll leave the issue open, this is something that may be interesting to pursue, but broader in scope when compared to this adapter.

@janosh
Copy link
Author

janosh commented Jul 25, 2021

So you mean using Deno to run SvelteKit itself, right?

Correct. Should have been clearer.

From what I understand, this would be non-trivial...

I was afraid you'd say that. 😅

I'll leave the issue open, this is something that may be interesting to pursue, but broader in scope when compared to this adapter.

Thanks for linking the upstream repo. Like Evan said, probably too early days right now but I'll be keeping an eye on this space.

@DefinitelyMaybe
Copy link

So you mean using Deno to run SvelteKit itself, right?

Correct. Should have been clearer.

I've thought of this but I'm in no rush to do so. Should everyone start to move more towards deno and doing so supported something cool that you'd like to have, then go for gold.

@jpaquim
Copy link
Contributor

jpaquim commented Jan 24, 2022

Saw this one today, seems to be pretty much in the same space: https://github.com/NOVASland/NOVAS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants