dce-edge
A maintainer skill in the Next.js repository with coding rules for conditional require calls that bundlers can remove, and for the limits of the edge runtime.
スキルの内容
A maintainer skill in the Next.js repository with coding rules for conditional require calls that bundlers can remove, and for the limits of the edge runtime. It explains that webpack drops a require only in the dead branch of an if/else that its define plugin can resolve at build time, shows a switcher file pattern that picks a Node or web implementation, warns that the runtime variable is not a feature flag, and says how flags that guard Node-only imports must be forced off for edge builds. It closes with rules for the app page template and a standalone end-to-end test to run when edge bundling may have regressed.
できること
ドキュメントに記載なし
概要
- 公開元
- Vercel
- ツール
- コードレビュー
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
Vercelのほかの掲載
サーバー1件 · スキル61件
- vercel-cli (スキル)
- vercel-flags (スキル)
- access-protected-vercel-deployment (スキル)
- ai-gateway (スキル)
- ai-sdk (スキル)
- auth (スキル)
こちらにも掲載: コードレビュー
出典
- GitHubリポジトリgithub.com/vercel/next.js · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- スキルファイル(SKILL.md)github.com/vercel/next.js · 根拠となる項目:スクリプトを含む2026年11月10日
- リポジトリ内のフォルダ(dce-edge)github.com/vercel/next.js · 根拠となる項目:スクリプトを含む2026年11月10日