graphql-import-loader

JSON →
library 0.2.1 ·javascript deprecated
verified Jun 7, 2026

Webpack loader for graphql-import that resolves GraphQL import statements (e.g., `# import { Type } from './type.graphql'`) in `.graphql` files. Current version 0.2.1, last updated in 2018. This package is unmaintained; the repository is archived. It was part of the deprecated Graphcool ecosystem. Alternatives: use `graphql-import` directly with `raw-loader` or `@graphql-tools/load` and `@graphql-tools/graphql-file-loader`. The loader returns the imported schema as a string.