Skip to content

Configurable gql import #1342

@danielkcz

Description

@danielkcz

Is your feature request related to a problem? Please describe.
It's pretty much a recommended way to use graphql.macro for loading graphql files or inlining documents. Since CRA2.0 has babel-plugin-macros includes it's a fairly cheap optimization of runtime code.

Describe the solution you'd like
Add configuration option gqlImportFrom to specify where to find gql.

Describe alternatives you've considered
Perhaps a boolean flag directly for a macro variant?

Metadata

Metadata

Assignees

No one assigned

    Labels

    pluginswaiting-for-releaseFixed/resolved, and waiting for the next stable release

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions