mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 12:47:45 +00:00
Svelte config to auto adapter
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// import adapter from '@sveltejs/adapter-auto';
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
@@ -13,13 +12,7 @@ const config = {
|
||||
],
|
||||
|
||||
kit: {
|
||||
adapter: adapter({
|
||||
// default options are shown
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback: 'index.html', // index.html (SPA) | null (SSR)
|
||||
precompress: false
|
||||
})
|
||||
adapter: adapter(),
|
||||
},
|
||||
package: {
|
||||
// strip test files from packaging
|
||||
|
||||
Reference in New Issue
Block a user