aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/ecosystem/sveltekit.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/guides/ecosystem/sveltekit.md')
-rw-r--r--docs/guides/ecosystem/sveltekit.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/guides/ecosystem/sveltekit.md b/docs/guides/ecosystem/sveltekit.md
index 77ca3c624..172b77299 100644
--- a/docs/guides/ecosystem/sveltekit.md
+++ b/docs/guides/ecosystem/sveltekit.md
@@ -72,20 +72,20 @@ To build for production, you'll need to add the right SvelteKit adapter. Current
Now, make the following changes to your `svelte.config.js`.
-```ts
+```ts-diff
- import adapter from "@sveltejs/adapter-auto";
+ import adapter from "svelte-adapter-bun";
-import { vitePreprocess } from "@sveltejs/kit/vite";
+ import { vitePreprocess } from "@sveltejs/kit/vite";
-/** @type {import('@sveltejs/kit').Config} */
-const config = {
- kit: {
- adapter: adapter(),
- },
- preprocess: vitePreprocess(),
-};
+ /** @type {import('@sveltejs/kit').Config} */
+ const config = {
+ kit: {
+ adapter: adapter(),
+ },
+ preprocess: vitePreprocess(),
+ };
-export default config;
+ export default config;
```
---