aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'svelte.config.js')
-rw-r--r--svelte.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/svelte.config.js b/svelte.config.js
index 4811785..3b8fb5e 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,10 +1,17 @@
// import adapter from '@sveltejs/adapter-static'
// import adapter from '@sveltejs/adapter-node'
import adapter from '@sveltejs/adapter-auto'
+import adapters from '@sveltejs/adapter-auto/adapters'
// import adapter from '@sveltejs/adapter-vercel'
import preprocess from 'svelte-preprocess'
// import { createHtmlPlugin } from 'vite-plugin-html'
+adapters.push({
+ name: 'Deno Deploy',
+ test: () => !!process.env.DENO_DEPLOYMENT_ID,
+ module: 'svelte-adapter-deno'
+})
+
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://github.com/sveltejs/svelte-preprocess