Skip to content

Issue with Running Codemods for Migrating to React Query v5 Due to ESM Compatibility #7048

Closed Answered by ontanj
nadavschwartz asked this question in Q&A
Discussion options

You must be logged in to vote

the issue is resolved either by renaming all CommonJS files in codemods to .cjs, or by adding the package.json in the published codemods directory. since the project mainly uses ES modules it makes sense to name the CommonJS files .cjs. I created a pull request #7333

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@TkDodo
Comment options

@nadavschwartz
Comment options

@smashercosmo
Comment options

@ontanj
Comment options

Answer selected by lachlancollins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants