Enable static building
This commit is contained in:
parent
bb21ff8e9b
commit
691a8a72eb
|
@ -0,0 +1 @@
|
|||
export const prerender = true
|
|
@ -1,6 +1,4 @@
|
|||
<script>
|
||||
export const prerender = true
|
||||
|
||||
import '../app.css'
|
||||
import Header from '$lib/header/Header.svelte'
|
||||
</script>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<script>
|
||||
import logo from '$lib/kd-full-logo.png';
|
||||
import Todo from "$lib/Todo.svelte";
|
||||
|
||||
const id = 'a59038fa-5098-4e7a-836b-f62342ac445b'
|
||||
const id2 = '1b581662-2f49-4307-af93-fcd97a1dbd8e'
|
||||
|
@ -92,10 +91,6 @@ JSON.parse(`{
|
|||
<div class="button-container">
|
||||
<a href="/download"><button class="colored">Download Now</button></a>
|
||||
</div>
|
||||
<Todo>
|
||||
Push 'What is Kafka Dance?' down further, but come up with a visual indicator that there's
|
||||
more to read. Something like this, but better:
|
||||
</Todo>
|
||||
</div>
|
||||
|
||||
<div class="column">
|
||||
|
|
|
@ -1,18 +1,14 @@
|
|||
import * as staticAdapter from '@sveltejs/adapter-static';
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
|
||||
const a = adapter()
|
||||
const s = staticAdapter.default({
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: null,
|
||||
precompress: false
|
||||
})
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
adapter: a,
|
||||
adapter: adapter({
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: null,
|
||||
precompress: false
|
||||
}),
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue