Svelte config to auto adapter

This commit is contained in:
endigo9740
2022-10-14 13:01:59 -05:00
parent 9fa84259e8
commit 2c54564d57

View File

@@ -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