"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cloneBundle = void 0;
const bundleClass_1 = require("./bundleClass");
function cloneBundle(unit, deep = false) {
    const __bundle = unit.getUnitBundleSpec(deep);
    return (0, bundleClass_1.bundleClass)(unit.constructor, __bundle);
}
exports.cloneBundle = cloneBundle;
//# sourceMappingURL=cloneBundle.js.map