spinjs
Version:
<p align="center"><a href="#"><img width="150" src="https://rawgit.com/sysgears/spin.js/master/logo.svg"></a></p>
22 lines • 785 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var merge = require("webpack-merge");
var Spin = (function () {
function Spin(cmd, builders, options, depPlatforms) {
this.cmd = cmd;
this.dev = this.cmd === 'watch' || this.cmd === 'test';
this.test = this.cmd === 'test';
this.builders = builders;
this.options = options;
this.depPlatforms = depPlatforms;
}
Spin.prototype.merge = function (config, overrides) {
return merge.smart(config, overrides);
};
Spin.prototype.mergeWithStrategy = function (strategy, config, overrides) {
return merge.smartStrategy(strategy)(config, overrides);
};
return Spin;
}());
exports.default = Spin;
//# sourceMappingURL=Spin.js.map