Build config fixes

This commit is contained in:
Dallas Hoffman 2023-09-10 18:14:54 -04:00
parent bf38af1022
commit 1ee49a8b4a
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -5,7 +5,9 @@ import { vitePreprocess } from '@sveltejs/kit/vite';
const config = { const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
adapter: adapter(), adapter: adapter({
fallback: 'index.html',
}),
alias: { alias: {
$icon: 'src/assets/fontawesome/light/*', $icon: 'src/assets/fontawesome/light/*',
}, },

View File

@ -15,6 +15,9 @@ export default defineConfig({
}, },
}, },
], ],
build: {
target: 'esnext',
},
optimizeDeps: { optimizeDeps: {
exclude: ['sqlocal', 'bytemd'], exclude: ['sqlocal', 'bytemd'],
}, },