创建
Some checks failed
构建并运行 Docker / build (push) Failing after 5m1s

This commit is contained in:
2025-07-29 13:52:36 +08:00
parent 64a947f435
commit e6fa94efa0
7 changed files with 160 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-auto';
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@ -8,10 +8,10 @@ const config = {
preprocess: vitePreprocess(),
kit: {
// adapter-auto only supports some environments, see https://svelte.dev/docs/kit/adapter-auto for a list.
// If your environment is not supported, or you settled on a specific environment, switch out the adapter.
// See https://svelte.dev/docs/kit/adapters for more information about adapters.
adapter: adapter(),
// 使用 Node.js 适配器,适合 Docker 部署
adapter: adapter({
out: 'build'
}),
alias: {
'@/*': './src/*'
}