All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.livelog.jslib.lodash.lib.main.build-dist.js Maven / Gradle / Ivy

'use strict';

var async = require('async'),
    path = require('path');

var file = require('../common/file');

var basePath = path.join(__dirname, '..', '..'),
    distPath = path.join(basePath, 'dist'),
    filename = 'lodash.js';

var baseLodash = path.join(basePath, filename),
    distLodash = path.join(distPath, filename);

/*----------------------------------------------------------------------------*/

function onComplete(error) {
  if (error) {
    throw error;
  }
}

function build() {
  async.series([
    file.copy(baseLodash, distLodash),
    file.min(distLodash)
  ], onComplete);
}

build();




© 2015 - 2025 Weber Informatics LLC | Privacy Policy