aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-08-30 14:53:27 -0700
committerFuwn <[email protected]>2023-08-30 14:53:27 -0700
commit2c6b9c2091ff76f07a6dbc4cd2c7d14298f3c9f5 (patch)
treef111a2a5c86d4e7627a4bb068571152ee51487f5 /svelte.config.js
parentrevert(docker): builder image as node (diff)
downloaddue.moe-2c6b9c2091ff76f07a6dbc4cd2c7d14298f3c9f5.tar.xz
due.moe-2c6b9c2091ff76f07a6dbc4cd2c7d14298f3c9f5.zip
ci(docker): use bun through and through
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 1cf26a00..28de0ccd 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,4 +1,4 @@
-import adapter from '@sveltejs/adapter-auto';
+import adapter from 'svelte-adapter-bun';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
@@ -11,7 +11,12 @@ const config = {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
- adapter: adapter()
+ adapter: adapter({
+ precompress: {
+ brotli: true,
+ gzip: true,
+ },
+ })
}
};