github dotansimha/graphql-code-generator @graphql-codegen/near-operation-file-preset@2.4.0

latest releases: release-1722174286560, @graphql-codegen/client-preset@4.3.3, release-1719908762705...
2 years ago

Minor Changes

  • 2cbcbb3: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --emit-legacy-common-js-imports

Patch Changes

  • Updated dependencies [2cbcbb3]
    • @graphql-codegen/visitor-plugin-common@2.12.0
    • @graphql-codegen/plugin-helpers@2.6.0

Don't miss a new graphql-code-generator release

NewReleases is sending notifications on new releases.