Files
pyth-on-line/svelte.config.js
Muspi Merol bac2a87c3e
Some checks are pending
javascript checks / check (macos) (push) Waiting to run
javascript checks / check (ubuntu) (push) Waiting to run
javascript checks / check (windows) (push) Waiting to run
python checks / check (push) Waiting to run
spell check / typos (push) Waiting to run
chore: update SvelteKit config
2025-02-12 22:28:25 +08:00

20 lines
384 B
JavaScript

import adapter from "@sveltejs/adapter-netlify";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
adapter: adapter(),
alias: {
"$py/*": "src/python/*",
},
output: {
preloadStrategy: "preload-mjs",
},
},
};
export default config;