Skip to content

Conversation

@yjoer
Copy link
Contributor

@yjoer yjoer commented Jul 3, 2025

Extracted from #194

I aliased node:path to path within the staticModules object so that any encounters of node:path would have the same behavior as path.

I have added unit tests specifically for path and node:path. Additionally, I've included a new chunk in the integration test to ensure asset references work correctly when using resolve or path.resolve imported from node:path.

@yjoer yjoer requested review from Timer and styfle as code owners July 3, 2025 15:43
Copy link
Member

@styfle styfle left a comment

Choose a reason for hiding this comment

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

Thanks again! 🎉

@styfle styfle merged commit 0aa05a0 into vercel:main Jul 3, 2025
7 checks passed
@github-actions
Copy link

github-actions bot commented Jul 3, 2025

🎉 This PR is included in version 1.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relocator does not match imports namespaced with node:

2 participants