sfdx-experiences-plugin
Version:
SFDX plugin to manage ExperienceBundle metadata
16 lines • 616 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = require("path");
const core_1 = require("./core");
/**
* Returns the path to the given view file in the given bundle path.
*
* @param {string} bundlePath Path to the bundle.
* @param {string} viewFileName Name of the view file.
* @returns {string} Path to the view file in the bundle path.
*/
function getViewFilePath(bundlePath, viewFileName) {
return path_1.resolve(core_1.getViewsPath(bundlePath), viewFileName);
}
exports.default = getViewFilePath;
//# sourceMappingURL=get-view-file-path.js.map
;