mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 04:21:26 +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-auto';
|
||||||
import adapter from '@sveltejs/adapter-static';
|
|
||||||
import preprocess from 'svelte-preprocess';
|
import preprocess from 'svelte-preprocess';
|
||||||
|
|
||||||
/** @type {import('@sveltejs/kit').Config} */
|
/** @type {import('@sveltejs/kit').Config} */
|
||||||
@@ -13,13 +12,7 @@ const config = {
|
|||||||
],
|
],
|
||||||
|
|
||||||
kit: {
|
kit: {
|
||||||
adapter: adapter({
|
adapter: adapter(),
|
||||||
// default options are shown
|
|
||||||
pages: 'build',
|
|
||||||
assets: 'build',
|
|
||||||
fallback: 'index.html', // index.html (SPA) | null (SSR)
|
|
||||||
precompress: false
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
package: {
|
package: {
|
||||||
// strip test files from packaging
|
// strip test files from packaging
|
||||||
|
|||||||
Reference in New Issue
Block a user