mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-07 20:57:44 +00:00
Implemented static adapter
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import adapter from '@sveltejs/adapter-auto';
|
||||
// import adapter from '@sveltejs/adapter-auto';
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import preprocess from 'svelte-preprocess';
|
||||
import { configDefaults } from 'vitest/config'
|
||||
|
||||
@@ -13,7 +14,13 @@ const config = {
|
||||
],
|
||||
|
||||
kit: {
|
||||
adapter: adapter(),
|
||||
adapter: adapter({
|
||||
// default options are shown
|
||||
pages: 'build',
|
||||
assets: 'build',
|
||||
fallback:'index.html', // index.html (SPA) | null (SSR)
|
||||
precompress: false
|
||||
}),
|
||||
vite: {
|
||||
test: {
|
||||
exclude: [...configDefaults.exclude, './package', './build']
|
||||
|
||||
Reference in New Issue
Block a user