src/build.js
function linkFiles({ code, files }) {
    return all([linkLocales(), linkAutoComplete()])
        .spread(union)
        .then(union(files) & sort(subtract) & (files => ({ code, files })));
}
function linkFiles({ code, files }) {
    return all([linkLocales(), linkAutoComplete()])
        .spread(union)
        .then(union(files) & sort(subtract) & (files => ({ code, files })));
}
function linkFiles ( { code , files } ) { return all ( [ linkLocales ( ) , linkAutoComplete ( ) ] ) . spread ( union ) . then ( union ( files ) & sort ( subtract ) & ( files => ( { code , files } ) ) ) ; }
Links the files to precompilation, including locales and autocomplete
scripts. For autocomplete files, ensuring it is a valid script without
requires. For locales, filtering true locale files and appending the full
qualified name for current files.

@param {Object<String, String[]>} { code, files }
@return {Promise}
Links the files to precompilation including locales and autocomplete scripts . For autocomplete files ensuring it is a valid script without requires . For locales filtering true locale files and appending the full qualified name for current files .