sfdx-experiences-plugin
Version:
SFDX plugin to manage ExperienceBundle metadata
11 lines (10 loc) • 632 B
TypeScript
/**
* Returns the names of the route files to copy from the source bundle to the target bundle.
*
* @param {string} sourceBundlePath Path to the source bundle.
* @param {string} targetBundlePath Path to the target bundle.
* @param {boolean} [overwrite=false] Copy files that already exist in the target bundle.
* @param {string[]} [includeFiles] Copy only files with the given names.
* @returns {string[]} Names of the route files to copy from source to target.
*/
export default function getRoutesToCopy(sourceBundlePath: string, targetBundlePath: string, overwrite?: boolean, includeFiles?: string[]): string[];