"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const core_loggers_1 = require("@pnpm/core-loggers");
const path = require("path");
const symlinkDir = require("symlink-dir");
function symlinkDependencyTo(alias, peripheralLocation, dest) {
    const linkPath = path.join(dest, alias);
    core_loggers_1.linkLogger.debug({ target: peripheralLocation, link: linkPath });
    return symlinkDir(peripheralLocation, linkPath);
}
exports.default = symlinkDependencyTo;
//# sourceMappingURL=symlinkDependencyTo.js.map