mirror of
				https://github.com/immich-app/immich.git
				synced 2025-10-31 10:37:11 -04:00 
			
		
		
		
	* feat(web): SPA * chore: remove unnecessary prune * feat(web): merge with immich-server * Correct method name * fix: bugs, docs, workflows, etc. * chore: keep dockerignore for dev * chore: remove license * fix: expose 2283 --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
		
			
				
	
	
		
			27 lines
		
	
	
		
			612 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			612 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import adapter from '@sveltejs/adapter-static';
 | |
| import preprocess from 'svelte-preprocess';
 | |
| 
 | |
| /** @type {import('@sveltejs/kit').Config} */
 | |
| const config = {
 | |
|   preprocess: preprocess(),
 | |
|   onwarn: (warning, handler) => {
 | |
|     if (warning.code.includes('a11y')) {
 | |
|       return;
 | |
|     }
 | |
|     handler(warning);
 | |
|   },
 | |
|   kit: {
 | |
|     adapter: adapter({
 | |
|       // default options are shown. On some platforms
 | |
|       // these options are set automatically — see below
 | |
|       pages: 'build',
 | |
|       assets: 'build',
 | |
|       fallback: 'index.html',
 | |
|       precompress: false,
 | |
|       strict: true,
 | |
|     }),
 | |
|   },
 | |
| };
 | |
| 
 | |
| export default config;
 |