CCodemod

next/13/comment-deletable-files

No description available

Legacy
next.jsmigration
Public
3 downloads
0 stars
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

This codemod is recommended when migrating from the /pages to the /app directory.

It adds a comment to files that should be deleted and migrated to different files during the migration process.

Namely, such are the following files:

  • _document.*,
  • _app.*,
  • _error.*.

Example

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.