Updated deps, migrate sveltekit to vitest config

This commit is contained in:
endigo9740
2022-07-27 11:39:59 -05:00
parent 91b7afdbee
commit 8cb3bf1b54
5 changed files with 1665 additions and 730 deletions

View File

@@ -1,7 +1,6 @@
// import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess';
import { configDefaults } from 'vitest/config'
/** @type {import('@sveltejs/kit').Config} */
const config = {
@@ -21,11 +20,7 @@ const config = {
fallback:'index.html', // index.html (SPA) | null (SSR)
precompress: false
}),
vite: {
test: {
exclude: [...configDefaults.exclude, './package', './build']
}
}
// vite: { ...moved to vite.config.js... }
}
};