aboutsummaryrefslogtreecommitdiff
path: root/docs/guides/ecosystem/sveltekit.md
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2023-09-11 20:38:47 -0700
committerGravatar GitHub <noreply@github.com> 2023-09-11 20:38:47 -0700
commit85bf54a3ac2b737497e32219f78412ff9a02dbdb (patch)
tree64d766f7c9280ed072608e15a82e104e02a608b1 /docs/guides/ecosystem/sveltekit.md
parent58d5771589b9ca1dac4b1c26617b5f26b09e2f39 (diff)
parent03b8e9d5cf3ddef88424ad3755ceda55a8230141 (diff)
downloadbun-85bf54a3ac2b737497e32219f78412ff9a02dbdb.tar.gz
bun-85bf54a3ac2b737497e32219f78412ff9a02dbdb.tar.zst
bun-85bf54a3ac2b737497e32219f78412ff9a02dbdb.zip
Merge branch 'main' into dylan/cli-fixes
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;
```
---