Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download svelte.config.js from huggingface/inference-playground: direct link, hf CLI and curl.
- Browser
- Download file 791 Bytes
-
https://huggingface.co/spaces/huggingface/inference-playground/resolve/main/svelte.config.js
- Command line
-
hf download hf://spaces/huggingface/inference-playground/svelte.config.js
-
curl -L -o svelte.config.js https://huggingface.co/spaces/huggingface/inference-playground/resolve/main/svelte.config.js
791 Bytes
| import adapter from "@sveltejs/adapter-node"; | |
| import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; | |
| /** @type {import('@sveltejs/kit').Config} */ | |
| const config = { | |
| // Consult https://kit.svelte.dev/docs/integrations#preprocessors | |
| // for more information about preprocessors | |
| preprocess: vitePreprocess(), | |
| 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(), | |
| experimental: { | |
| remoteFunctions: true, | |
| }, | |
| }, | |
| compilerOptions: { | |
| experimental: { | |
| async: true, | |
| }, | |
| }, | |
| }; | |
| export default config; | |