gradio/js/component-test/svelte.config.js
pngwn de1f7a2b89
Create test app for components / SSR testing. (#9138)
* test app

* test app

* add changeset

* private

* title

* add changeset

* format

* asd

* asd

* asd

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-08-19 11:00:03 +01:00

19 lines
600 B
JavaScript

import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// 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(),
alias: {
$lib: "./src/lib"
}
},
preprocess: vitePreprocess()
};
export default config;