Files
watch-stock-list/svelte.config.js
niyyzf e6fa94efa0
Some checks failed
构建并运行 Docker / build (push) Failing after 5m1s
创建
2025-07-29 13:52:36 +08:00

22 lines
472 B
JavaScript

import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://svelte.dev/docs/kit/integrations
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
// 使用 Node.js 适配器,适合 Docker 部署
adapter: adapter({
out: 'build'
}),
alias: {
'@/*': './src/*'
}
}
};
export default config;