@eddeee888/gcg-typescript-resolver-files
Version:
This [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugin creates resolvers given GraphQL schema.
11 lines • 378 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizeRelativePath = void 0;
const normalizeRelativePath = (path) => {
if (!path.startsWith('../') || !path.startsWith('./')) {
return `./${path}`;
}
return path;
};
exports.normalizeRelativePath = normalizeRelativePath;
//# sourceMappingURL=normalizeRelativePath.js.map
;