index.js
function correctDependencies(file, dependencies, correct) {

    if (!correct) {
        return;
    }

    for (var i = dependencies.length - 1; i >= 0; i--) {
        correct(file, dependencies[i]);
    }

}
function correctDependencies(file, dependencies, correct) {

    if (!correct) {
        return;
    }

    for (var i = dependencies.length - 1; i >= 0; i--) {
        correct(file, dependencies[i]);
    }

}
纠正依赖的格式

开发时通常会约定一些不通用的路径，如 ${staticServer}/src/a.js，编译时需要处理

@inner
@param {Object} file
@param {Array} dependencies
@param {Function} correct