lib/functions/packLocalSingleFile.js
function writeLocalJson(source, rootFolder) {
    // Write to local.json
    const local = path.join(rootFolder, constants.META_DIR, constants.META_LOCAL);
    const file = {
        name: local,
        source: JSON.stringify(source),
    };
    createFile(file);
}
function writeLocalJson(source, rootFolder) {
    // Write to local.json
    const local = path.join(rootFolder, constants.META_DIR, constants.META_LOCAL);
    const file = {
        name: local,
        source: JSON.stringify(source),
    };
    createFile(file);
}
function writeLocalJson ( source , rootFolder ) { // Write to local.json const local = path . join ( rootFolder , constants . META_DIR , constants . META_LOCAL ) ; const file = { name : local , source : JSON . stringify ( source ) , } ; createFile ( file ) ; }
Write the source to the write file

@param {String} source - relative path to the rootFolder of the project
@param {String} rootFolder - relative path to the rootFolder of the project
@returns {void}
Write the source to the write file