fix(@aether/editor-host): 声明 Vercel 输出目录与构建命令 - #12
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
fix(@aether/editor-host): 声明 Vercel 输出目录与构建命令#12devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
针对 Vercel 报错
No Output Directory named "dist" found,为 editor-host 增加显式项目配置:{ "framework": "vite", "buildCommand": "pnpm run build", "outputDirectory": "dist", "installCommand": "pnpm install --frozen-lockfile" }该配置应与 Vercel Project Settings 的 Root Directory
apps/@aether/editor-host配套使用,避免平台在 monorepo 根目录寻找错误的dist路径或使用未预期的构建命令。验证:在 editor-host 目录执行
VERCEL=1 pnpm run build,成功生成dist/index.html与静态 assets。Link to Devin session: https://app.devin.ai/sessions/7e670767e05f493aa100328490d2a1b8
Requested by: @CodeSky-dev