D

remix-js/v2/add-matches-param-and-array-return-to-meta-export

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

Instead of returning an object from meta, you will now return an array of descriptors and manage the merge yourself. This brings the meta API closer to links, and it allows for more flexibility and control over how meta tags are rendered.

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.