Skip to content

Handle SvelteKit adapters properly #60

@endigma

Description

@endigma
  • with SvelteKit using bun as the package manager and builder does not mean to use bun as the runner
  • the runner language is determined by the adapter, not the runtime used to build
  • I can use bun to build a nodejs output, and vice versa
  • and also: with adapter-static, it should use the nginx thing it does for astro

Stories:

  • Right now, if I launch a SvelteKit app that uses bun as its package manager but adapter-node as its runtime, it tries to run the node bundle with bun which won't work properly
  • Right now, if I launch a SvelteKit app that uses adapter-static, it assumes it's node/bun and runs it with that
  • Right now, the deno adapter and anything else probably is broken in a similar way

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions