Added static adapter
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import preprocess from "svelte-preprocess";
|
||||
import staticAdapter from '@sveltejs/adapter-static';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
kit: {
|
||||
// hydrate the <div id="svelte"> element in src/app.html
|
||||
target: '#svelte'
|
||||
target: '#svelte',
|
||||
adapter: staticAdapter(),
|
||||
files: {
|
||||
assets: 'static'
|
||||
}
|
||||
},
|
||||
|
||||
preprocess: [preprocess({
|
||||
|
||||
Reference in New Issue
Block a user