@eddeee888/gcg-typescript-resolver-files
Version:
This [GraphQL Code Generator](https://www.the-guild.dev/graphql/codegen) plugin creates resolvers given GraphQL schema.
12 lines • 532 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.relativeModulePath = void 0;
const tslib_1 = require("tslib");
const path = tslib_1.__importStar(require("path"));
const normalizeRelativePath_1 = require("./normalizeRelativePath");
const relativeModulePath = (from, to) => {
const rawPath = path.posix.relative(from, to);
return (0, normalizeRelativePath_1.normalizeRelativePath)(rawPath);
};
exports.relativeModulePath = relativeModulePath;
//# sourceMappingURL=relativeModulePath.js.map
;