Replace front proxy with new SvelteKit frontend app
- Remove the old Hono/Bun proxy server - Add the new `apps/frontend` SvelteKit scaffold and telemetry hook
This commit is contained in:
20
apps/frontend/svelte.config.js
Normal file
20
apps/frontend/svelte.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
||||
import adapter from "@sveltejs/adapter-node";
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
adapter: adapter({ out: "build" }),
|
||||
experimental: {
|
||||
remoteFunctions: true,
|
||||
tracing: { server: true },
|
||||
instrumentation: { server: true },
|
||||
},
|
||||
},
|
||||
compilerOptions: {
|
||||
experimental: { async: true },
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
Reference in New Issue
Block a user