babel-plugin-import-graphql
Version:
Babel plugin to make .gql/.graphql files importable
13 lines (11 loc) • 463 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.missingOptionalDep = void 0;
var missingOptionalDep = `The 'graphql-tag' package must be installed when using the 'runtime' option.
Ways to resolve this error:
1. Run 'npm i graphql-tag' or 'yarn add graphql-tag' to install the missing dependency
2. Disable the 'runtime' option to parse your GraphQL files at compile-time
`;
exports.missingOptionalDep = missingOptionalDep;