aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.cjs
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-09 22:43:12 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-09 22:43:12 +0100
commitbd8e98d7e24c4dbaee7db6ec7955f7c2f6d396a6 (patch)
treee5f0dcbc14d3009c17e5f562404fe19f6aceab73 /svelte.config.cjs
parent862a5f9cdbbda522c608ea63c1e296e81f44de10 (diff)
Update to SvelteKit
Diffstat (limited to 'svelte.config.cjs')
-rw-r--r--svelte.config.cjs11
1 files changed, 11 insertions, 0 deletions
diff --git a/svelte.config.cjs b/svelte.config.cjs
new file mode 100644
index 0000000..cf7a842
--- /dev/null
+++ b/svelte.config.cjs
@@ -0,0 +1,11 @@
+module.exports = {
+ kit: {
+ // By default, `npm run build` will create a standard Node app.
+ // You can create optimized builds for different platforms by
+ // specifying a different adapter
+ adapter: '@sveltejs/adapter-node',
+
+ // hydrate the <div id="forum"> element in src/app.html
+ target: '#forum'
+ }
+};