Skip to content

CustomExitScreen の dev サーバのポートを 3004 に統一 - #65

Merged
kira924age merged 1 commit into
developfrom
feature/exit-screen-port
Aug 10, 2026
Merged

kira924age merged 1 commit into
developfrom
feature/exit-screen-port

Conversation

@kira924age

Copy link
Copy Markdown
Contributor

概要

CustomExitScreen だけ dev サーバが 5173 で、他10テンプレートは 3004 でした。3004 に揃えます。

背景

ルート README はローカルプラグインの読み込み手順を 3004 前提で書いています。

entry: "http://localhost:3004/remoteEntry.js"

We assume that local plugin is running on http://localhost:3004.

このため CustomExitScreen だけは、ローカルで metatell_client から読み込む際にポートを手で読み替える必要がありました。

変更

  • CustomExitScreen/vite.config.tsport: 5173port: 3004
  • CustomExitScreen/README.md — 記載を 3004 に更新

strictPort: true は元から設定済みなので、ポートが埋まっている場合は黙って別ポートに移らずエラーになります。

動作確認

  • dev サーバが http://localhost:3004/ で起動し、プレビュー画面が正常に描画されることをブラウザで確認
  • build ✅ / lint ✅
  • 全11テンプレートが port: 3004 に揃ったことを確認

🤖 Generated with Claude Code

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>
@kira924age kira924age self-assigned this Aug 10, 2026
@kira924age
kira924age merged commit 1d6a139 into develop Aug 10, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant