vite-plugin-graphql-loader
Advanced tools
Comparing version 4.0.2 to 4.0.3
@@ -21,3 +21,3 @@ import { EOL } from "os"; | ||
imports.push(`import ${importName} from ${importFile};\n`); | ||
importAppends.push(`${DOC_NAME}.definitions = ${DOC_NAME}.definitions.concat(${vitePluginGraphqlLoaderUniqueChecker.name}(${importName}.definitions));\n`); | ||
importAppends.push(`${DOC_NAME}.definitions = ${vitePluginGraphqlLoaderUniqueChecker.name}(${DOC_NAME}.definitions.concat(${importName}.definitions));\n`); | ||
} | ||
@@ -24,0 +24,0 @@ return line.length !== 0 && line[0] !== "#"; |
{ | ||
"name": "vite-plugin-graphql-loader", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "A Vite plugin for loading GraphQL files.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -5,3 +5,3 @@ # vite-plugin-graphql-loader | ||
[![npm version](https://img.shields.io/npm/v/bun-graphql-loader.svg?logoColor=fff&style=for-the-badge)](https://www.npmjs.com/package/bun-graphql-loader) | ||
[![npm version](https://img.shields.io/npm/v/vite-plugin-graphql-loader.svg?logoColor=fff&style=for-the-badge)](https://www.npmjs.com/package/vite-plugin-graphql-loader) | ||
![Vite Badge](https://img.shields.io/badge/Vite-646CFF?logo=vite&logoColor=fff&style=for-the-badge) | ||
@@ -46,2 +46,4 @@ ![Vitest Badge](https://img.shields.io/badge/Vitest-6E9F18?logo=vitest&logoColor=fff&style=for-the-badge) | ||
```graphql | ||
#import "./ExampleImport.graphql" | ||
fragment ExampleFragment on example { | ||
@@ -55,2 +57,3 @@ id | ||
...ExampleFragment | ||
...ExampleImport | ||
} | ||
@@ -57,0 +60,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24475
132