Skip to content

Add redirect for esm guide#265

Open
schaable wants to merge 1 commit into
mainfrom
migration-error-messages
Open

Add redirect for esm guide#265
schaable wants to merge 1 commit into
mainfrom
migration-error-messages

Conversation

@schaable
Copy link
Copy Markdown
Member

@schaable schaable self-assigned this May 20, 2026
Copilot AI review requested due to automatic review settings May 20, 2026 15:41
@vercel
Copy link
Copy Markdown

vercel Bot commented May 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hardhat-website Ready Ready Preview, Comment May 20, 2026 3:42pm

Request Review

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new in-app shortlink redirect so older Hardhat/plugin references to an ESM migration link continue to resolve correctly on the Hardhat website.

Changes:

  • Added an in-app redirect from /migrate-to-esm to the ESM section of the Mocha tests migration guide (/docs/migrate-from-hardhat2/guides/mocha-tests#esm).
  • Included a note indicating the redirect target should be updated once a dedicated CommonJS→ESM guide exists.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants