Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/bs / dist / bundle / clean.js
Size: Mime:
"use strict";
/**
 * @fileoverview removes any exisitng build output.
 * @file side-effect-only
 */
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const trash_1 = tslib_1.__importDefault(require("trash"));
const resolveToRoot_1 = require("../resolveToRoot");
const getConfigForEnv_1 = tslib_1.__importDefault(require("../oneConfig/getConfigForEnv"));
function clean() {
    const buildOutputPath = getConfigForEnv_1.default('buildOutputPath');
    const outputPath = resolveToRoot_1.resolveToRoot(buildOutputPath);
    trash_1.default(outputPath).then(() => {
        console.log(`Cleaned ${outputPath}`);
    });
}
clean();
//# sourceMappingURL=clean.js.map