mirror of
https://github.com/suyu-emu/website.git
synced 2026-09-21 14:17:45 -07:00
30 lines
674 B
JavaScript
30 lines
674 B
JavaScript
import adapter from "@sveltejs/adapter-node";
|
|
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Preprocessor configuration
|
|
preprocess: [vitePreprocess({})],
|
|
|
|
kit: {
|
|
// Node adapter configuration
|
|
adapter: adapter({
|
|
// You can add Node adapter specific options here if needed
|
|
}),
|
|
|
|
// Path aliases
|
|
alias: {
|
|
$components: "./src/components",
|
|
$assets: "./src/assets",
|
|
$types: "./src/types",
|
|
},
|
|
|
|
// Base path configuration
|
|
paths: {
|
|
base: process.env.BASE_PATH || '/website' // Replace '/website' with your repo name if different
|
|
}
|
|
}
|
|
};
|
|
|
|
export default config;
|