fix: address review feedback on scaffold PR

- Add private: true to package.json to prevent accidental npm publish
- Fix assetsPrefix to use Vercel URL (matching TDD) instead of /_website/ path
- Add Inter font files to public/fonts/ to fix 404s

Addresses review feedback:
https://github.com/Comfy-Org/ComfyUI_frontend/pull/10142#pullrequestreview-2893455098
This commit is contained in:
bymyself
2026-03-17 07:17:14 -07:00
parent 55897d22c6
commit 0c00af6bd9
5 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,9 @@ export default defineConfig({
plugins: [tailwindcss()]
},
build: {
assetsPrefix: '/_website/'
assetsPrefix: process.env.VERCEL_URL
? `https://${process.env.VERCEL_URL}`
: undefined
},
i18n: {
locales: ['en', 'zh-CN'],

View File

@@ -1,6 +1,7 @@
{
"name": "@comfyorg/website",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"dev": "astro dev",

Binary file not shown.

Binary file not shown.