@sveltejs/adapter-bun
v1.0.0-next.1
Published
Adapter for SvelteKit apps that generates a standalone Bun server
Downloads
94
Readme
@sveltejs/adapter-bun
SvelteKit adapter that builds a standalone server for the Bun runtime.
bun add -D @sveltejs/adapter-bunimport adapter from '@sveltejs/adapter-bun';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit({ adapter: adapter() })]
});Build with bun run --bun build, then run the default output with bun ./build.
See the adapter-bun documentation for configuration, environment variables, compiled executables, proxy setup, and the Bun-specific platform API.
