@graphcommerce/graphql-codegen-near-operation-file 3.0.15 → 3.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -133,7 +133,7 @@ function resolveDocumentImports(presetOptions, schemaObject, importResolverOptio
133
133
  }
134
134
  });
135
135
  return resDocuments.filter(function (result) {
136
- return result.filename.startsWith((0, path_1.resolve)(baseDir, baseOutputDir));
136
+ return result.filename.startsWith((0, path_1.resolve)(baseDir, baseOutputDir).replace(/\\/g, '/'));
137
137
  });
138
138
  }
139
139
  exports.resolveDocumentImports = resolveDocumentImports;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/graphql-codegen-near-operation-file",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "3.0.15",
5
+ "version": "3.0.16",
6
6
  "sideEffects": false,
7
7
  "main": "dist/index.js",
8
8
  "files": [
@@ -170,6 +170,6 @@ export function resolveDocumentImports<T>(
170
170
  })
171
171
 
172
172
  return resDocuments.filter((result) =>
173
- result.filename.startsWith(resolve(baseDir, baseOutputDir)),
173
+ result.filename.startsWith(resolve(baseDir, baseOutputDir).replace(/\\/g, '/')),
174
174
  )
175
175
  }