We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
with --esm flag enabled the generated typescript code looks like this
--esm
import type { QueryGenqlSelection, ... } from './schema' import { linkTypeMap, ... } from './runtime' export type { FieldsSelection } from './runtime'
... but one would expect to have something like this, right?
import type { QueryGenqlSelection, ... } from './schema.js' import { linkTypeMap, ... } from './runtime/index.js' export type { FieldsSelection } from './runtime/index.js'
The text was updated successfully, but these errors were encountered:
Temporary workaround for anyone hitting the same issue would be to run npx @magic-works/ts-esm-migrate ./src/generated after generation
npx @magic-works/ts-esm-migrate ./src/generated
Sorry, something went wrong.
No branches or pull requests
with
--esm
flag enabled the generated typescript code looks like this... but one would expect to have something like this, right?
The text was updated successfully, but these errors were encountered: