├── .editorconfig ├── .gitattributes ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── dist └── graphql-raw-loader.cjs.js ├── lib └── index.ts ├── package.json ├── test ├── 1. Exports raw │ ├── index.test.js │ └── query.graphql ├── 2. Handle comment import statement │ ├── fragment.graphql │ ├── index.test.js │ ├── query.graphql │ └── type.graphql ├── 3. Handle import directive │ ├── fragment.graphql │ ├── index.test.js │ └── query.graphql └── util.js ├── tsconfig.json ├── types └── index.d.ts └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/README.md -------------------------------------------------------------------------------- /dist/graphql-raw-loader.cjs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/dist/graphql-raw-loader.cjs.js -------------------------------------------------------------------------------- /lib/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/lib/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/package.json -------------------------------------------------------------------------------- /test/1. Exports raw/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/1. Exports raw/index.test.js -------------------------------------------------------------------------------- /test/1. Exports raw/query.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/1. Exports raw/query.graphql -------------------------------------------------------------------------------- /test/2. Handle comment import statement/fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/2. Handle comment import statement/fragment.graphql -------------------------------------------------------------------------------- /test/2. Handle comment import statement/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/2. Handle comment import statement/index.test.js -------------------------------------------------------------------------------- /test/2. Handle comment import statement/query.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/2. Handle comment import statement/query.graphql -------------------------------------------------------------------------------- /test/2. Handle comment import statement/type.graphql: -------------------------------------------------------------------------------- 1 | type Test { 2 | id: String! 3 | } 4 | -------------------------------------------------------------------------------- /test/3. Handle import directive/fragment.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/3. Handle import directive/fragment.graphql -------------------------------------------------------------------------------- /test/3. Handle import directive/index.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/3. Handle import directive/index.test.js -------------------------------------------------------------------------------- /test/3. Handle import directive/query.graphql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/3. Handle import directive/query.graphql -------------------------------------------------------------------------------- /test/util.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/test/util.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VitorLuizC/graphql-raw-loader/HEAD/yarn.lock --------------------------------------------------------------------------------