UNPKG

@featurevisor/core

Version:

Core package of Featurevisor for Node.js usage

15 lines 688 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getRelativePaths = getRelativePaths; const path = require("path"); function getRelativePaths(rootDirectoryPath, projectConfig) { const relativeFeaturesPath = path.relative(rootDirectoryPath, projectConfig.featuresDirectoryPath); const relativeSegmentsPath = path.relative(rootDirectoryPath, projectConfig.segmentsDirectoryPath); const relativeAttributesPath = path.relative(rootDirectoryPath, projectConfig.attributesDirectoryPath); return { relativeFeaturesPath, relativeSegmentsPath, relativeAttributesPath, }; } //# sourceMappingURL=getRelativePaths.js.map