"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "revalidatePath", {
    enumerable: true,
    get: function() {
        return revalidatePath;
    }
});
const _revalidatetag = require("./revalidate-tag");
const _constants = require("../../../lib/constants");
function revalidatePath(path, type) {
    path = `${_constants.NEXT_CACHE_IMPLICIT_TAG_ID}${path}`;
    if (type) {
        path += `${path.endsWith("/") ? "" : "/"}${type}`;
    }
    return (0, _revalidatetag.revalidateTag)(path);
}

//# sourceMappingURL=revalidate-path.js.map