Skip to content

fixed graphql-codegen-esm Cannot use import statement outside a module #725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 8, 2024

Conversation

Code-Hex
Copy link
Owner

@Code-Hex Code-Hex commented Jul 8, 2024

Solve #623

This PR includes

  • Renamed dist directory names
    • main -> cjs
    • module -> esm
  • Changed type to module in package.json
  • Fixed Cannot use import statement outside a module in graphql-codegen-esm

@Code-Hex Code-Hex merged commit a817277 into main Jul 8, 2024
2 checks passed
@Code-Hex Code-Hex deleted the fix/esm-build branch July 8, 2024 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant