mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-20 06:20:11 +00:00
## Summary <!-- One sentence describing what changed and why. --> ## Changes - **What**: <!-- Core functionality added/modified --> - **Breaking**: <!-- Any breaking changes (if none, remove this line) --> - **Dependencies**: <!-- New dependencies (if none, remove this line) --> ## Review Focus <!-- Critical design decisions or edge cases that need attention --> <!-- If this PR fixes an issue, uncomment and update the line below --> <!-- Fixes #ISSUE_NUMBER --> ## Screenshots (if applicable) <!-- Add screenshots or video recording to help explain your changes --> ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-10156-feat-website-add-SEO-sitemap-redirects-CI-workflow-and-Vercel-config-3266d73d3650816ab9eaebd11072d481) by [Unito](https://www.unito.io) --------- Co-authored-by: GitHub Action <action@github.com>
26 lines
563 B
TypeScript
26 lines
563 B
TypeScript
import { defineConfig } from 'astro/config'
|
|
import sitemap from '@astrojs/sitemap'
|
|
import vue from '@astrojs/vue'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
site: 'https://comfy.org',
|
|
output: 'static',
|
|
integrations: [vue(), sitemap()],
|
|
vite: {
|
|
plugins: [tailwindcss()]
|
|
},
|
|
build: {
|
|
assetsPrefix: process.env.VERCEL_URL
|
|
? `https://${process.env.VERCEL_URL}`
|
|
: undefined
|
|
},
|
|
i18n: {
|
|
locales: ['en', 'zh-CN'],
|
|
defaultLocale: 'en',
|
|
routing: {
|
|
prefixDefaultLocale: false
|
|
}
|
|
}
|
|
})
|