UNPKG

spinjs

Version:

<p align="center"><a href="#"><img width="150" src="https://rawgit.com/sysgears/spinjs/master/logo.svg"></a></p>

21 lines 716 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var merge = require("webpack-merge"); var Spin = (function () { function Spin(cwd, cmd) { this.cmd = cmd; this.cwd = cwd; this.dev = this.cmd === 'watch' || this.cmd === 'test'; this.test = this.cmd === 'test'; this.watch = this.cmd === 'watch'; } 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