Build config fixes
This commit is contained in:
parent
bf38af1022
commit
1ee49a8b4a
|
@ -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/*',
|
||||||
},
|
},
|
||||||
|
|
|
@ -15,6 +15,9 @@ export default defineConfig({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
build: {
|
||||||
|
target: 'esnext',
|
||||||
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['sqlocal', 'bytemd'],
|
exclude: ['sqlocal', 'bytemd'],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue