diff --git a/svelte.config.js b/svelte.config.js new file mode 100644 index 0000000..549f5af --- /dev/null +++ b/svelte.config.js @@ -0,0 +1,15 @@ +import adapter from '@sveltejs/adapter-node'; +import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'; + +/** @type {import('@sveltejs/kit').Config} */ +const config = { + preprocess: vitePreprocess(), + kit: { + adapter: adapter(), + paths: { + base: '/trips' + } + } +}; + +export default config; diff --git a/svelte.config.ts b/svelte.config.ts deleted file mode 100644 index df22332..0000000 --- a/svelte.config.ts +++ /dev/null @@ -1,15 +0,0 @@ -import adapter from "@sveltejs/adapter-node"; -import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; -import type { Config } from "@sveltejs/kit"; - -const config: Config = { - preprocess: vitePreprocess(), - kit: { - adapter: adapter(), - paths: { - base: "/trips", - }, - }, -}; - -export default config;