mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
adae5dd758
* 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>
26 lines
612 B
JavaScript
26 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;
|