nodes/packages/ui/svelte.config.js
Max Richter 8bf2958e1d
All checks were successful
Deploy to GitHub Pages / build_site (push) Successful in 1m48s
fix: build erorr
2024-04-30 14:25:26 +02:00

24 lines
773 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
const { BASE_URL = "" } = process.env;
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
paths: {
base: BASE_URL,
},
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
}
};
export default config;