@polyfill-io-aot/builder
Version:
This is the builder module for polyfill-io-aot.
23 lines • 643 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const lazy_get_decorator_1 = require("lazy-get-decorator");
const path_1 = require("path");
/** @internal */
class CopyPath {
constructor(absolute, root) {
this.absolute = absolute;
this.root = root;
}
get relative() {
return path_1.relative(this.root, this.absolute);
}
toString() {
return this.absolute;
}
}
tslib_1.__decorate([
lazy_get_decorator_1.LazyGetter()
], CopyPath.prototype, "relative", null);
exports.CopyPath = CopyPath;
//# sourceMappingURL=CopyPath.js.map