diff options
| author | Tim Keller <tjk@tjkeller.xyz> | 2025-12-20 12:20:32 -0600 |
|---|---|---|
| committer | Tim Keller <tjk@tjkeller.xyz> | 2025-12-20 12:20:32 -0600 |
| commit | e4ff6c4028c33feac03bb32bbd0eda84d8138a8f (patch) | |
| tree | 600eec12afdec59c4ced8a7356932766192ad4c2 /src/client/svelte.config.ts | |
| parent | ed9b272afedf93e3b5b4fba77e5213d07b976653 (diff) | |
| download | immich-frame-e4ff6c4028c33feac03bb32bbd0eda84d8138a8f.tar.xz immich-frame-e4ff6c4028c33feac03bb32bbd0eda84d8138a8f.zip | |
replace original client with static sveltekit site. Transition and refactor code for sveltekit. Add support for view transitions api.
Diffstat (limited to 'src/client/svelte.config.ts')
| -rw-r--r-- | src/client/svelte.config.ts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/client/svelte.config.ts b/src/client/svelte.config.ts new file mode 100644 index 0000000..e6eb2e2 --- /dev/null +++ b/src/client/svelte.config.ts @@ -0,0 +1,21 @@ +import adapter from "@sveltejs/adapter-static" + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + kit: { + output: { + bundleStrategy: "inline", + }, + router: { + type: "hash", + }, + adapter: adapter({ + // default options are shown. On some platforms + // these options are set automatically — see below + pages: "../../dist", + fallback: "index.html", + }) + } +} + +export default config |
