UNPKG

915 BJavaScriptView Raw
1"use strict";
2// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3// See LICENSE in the project root for license information.
4Object.defineProperty(exports, "__esModule", { value: true });
5const Orchestrator = require("orchestrator");
6/**
7 * A helper utility for gulp which can be extended to provide additional features to gulp vinyl streams
8 */
9class GulpProxy extends Orchestrator {
10 constructor(gulpInstance) {
11 super();
12 this.src = gulpInstance.src;
13 this.dest = gulpInstance.dest;
14 this.watch = gulpInstance.watch;
15 }
16 // eslint-disable-next-line @typescript-eslint/no-explicit-any
17 task() {
18 throw new Error('You should not define gulp tasks directly, but instead subclass the GulpTask or call subTask(), and register it to gulp-core-build.');
19 }
20}
21exports.GulpProxy = GulpProxy;
22//# sourceMappingURL=GulpProxy.js.map
\No newline at end of file