UI for Zipcoin Blue

build.js 693B

123456789101112131415161718
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const tslib_1 = require("tslib");
  4. const chalk_1 = require("chalk");
  5. function build({ env, options }) {
  6. return tslib_1.__awaiter(this, void 0, void 0, function* () {
  7. const project = yield env.project.load();
  8. if (project.integrations.gulp && project.integrations.gulp.enabled !== false) {
  9. const { runTask } = yield Promise.resolve().then(() => require('../gulp'));
  10. yield runTask(env, 'sass');
  11. }
  12. else {
  13. env.log.warn(`Not performing Ionic build for project type: ${chalk_1.default.bold(project.type)}.`);
  14. }
  15. });
  16. }
  17. exports.build = build;