UNPKG

sfdx-experiences-plugin

Version:
16 lines 626 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const path_1 = require("path"); const core_1 = require("./core"); /** * Returns the path to the given route file in the given bundle path. * * @param {string} bundlePath Path to the bundle. * @param {string} routeFileName Name of the route file. * @returns {string} Path to the route file in the bundle path. */ function getRouteFilePath(bundlePath, routeFileName) { return path_1.resolve(core_1.getRoutesPath(bundlePath), routeFileName); } exports.default = getRouteFilePath; //# sourceMappingURL=get-route-file-path.js.map