Vercel

Vercel Updates Microfrontends Routing for Aliases and Branch Domains


Executive Summary

Vercel is gradually rolling out an update to its Microfrontends routing logic to create more consistent and powerful development workflows. The changes ensure that custom aliases inherit the full routing configuration from their source deployment. Additionally, domains assigned to a specific git branch will now correctly route to that same branch across all associated microfrontend projects.

Key Takeaways

* Full Routing for Aliases: When aliasing a deployment URL using `vc alias`, the new alias now inherits the complete microfrontends routing configuration, not just the `deploymentId` as it did previously.

* Cross-Project Branch Domains: A domain assigned to a git branch will now route to that same branch in every project that is part of the Microfrontend architecture, provided the branch name exists in those projects.

* Availability: The update is being gradually rolled out. Users must update their Vercel CLI to the latest version to access the new alias behavior.

Strategic Importance

This update enhances the developer experience by simplifying routing complexity in microfrontend architectures, making it easier to manage and preview changes across multiple projects simultaneously.

Original article