added bun adapter

This commit is contained in:
2026-11-16 10:39:59 +00:00
parent eef465dee0
commit 74b84b1b10
4 changed files with 6 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
import tailwindcss from '@tailwindcss/vite';
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-bun';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
@@ -12,10 +12,6 @@ export default defineConfig({
runes: ({ filename }) =>
filename.split(/[/\\]/).includes('node_modules') ? undefined : true
},
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter()
})
]