CustomExitScreen の dev サーバのポートを 3004 に統一 - #65
Merged
Merged
Conversation
CustomExitScreen was the only template serving on 5173; the other ten use 3004. The root README documents the local plugin flow as running on http://localhost:3004 and the metatell_client snippet points its remote entry there, so CustomExitScreen needed the port overridden by hand to be loaded locally. strictPort is already set, so a clash surfaces as an error rather than silently moving to another port. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
概要
CustomExitScreen だけ dev サーバが 5173 で、他10テンプレートは 3004 でした。3004 に揃えます。
背景
ルート README はローカルプラグインの読み込み手順を 3004 前提で書いています。
entry: "http://localhost:3004/remoteEntry.js"このため CustomExitScreen だけは、ローカルで metatell_client から読み込む際にポートを手で読み替える必要がありました。
変更
CustomExitScreen/vite.config.ts—port: 5173→port: 3004CustomExitScreen/README.md— 記載を 3004 に更新strictPort: trueは元から設定済みなので、ポートが埋まっている場合は黙って別ポートに移らずエラーになります。動作確認
http://localhost:3004/で起動し、プレビュー画面が正常に描画されることをブラウザで確認port: 3004に揃ったことを確認🤖 Generated with Claude Code