Build config fixes
This commit is contained in:
		
							parent
							
								
									bf38af1022
								
							
						
					
					
						commit
						1ee49a8b4a
					
				|  | @ -5,7 +5,9 @@ import { vitePreprocess } from '@sveltejs/kit/vite'; | |||
| const config = { | ||||
| 	preprocess: vitePreprocess(), | ||||
| 	kit: { | ||||
| 		adapter: adapter(), | ||||
| 		adapter: adapter({ | ||||
| 			fallback: 'index.html', | ||||
| 		}), | ||||
| 		alias: { | ||||
| 			$icon: 'src/assets/fontawesome/light/*', | ||||
| 		}, | ||||
|  |  | |||
|  | @ -15,6 +15,9 @@ export default defineConfig({ | |||
| 			}, | ||||
| 		}, | ||||
| 	], | ||||
| 	build: { | ||||
| 		target: 'esnext', | ||||
| 	}, | ||||
| 	optimizeDeps: { | ||||
| 		exclude: ['sqlocal', 'bytemd'], | ||||
| 	}, | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue