mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-06 10:25:17 +08:00
de1f7a2b89
* 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>
19 lines
600 B
JavaScript
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;
|