text: var _ = require('lodash');
  
  var rollup = require('rollup');
  var rollupInject = require('rollup-plugin-inject');
  var rollupNodeResolve = require('rollup-plugin-node-resolve');
  
  var fs = require('fs');
  var path = require('path');
  
  var tslib = require('tslib');
  
  rollup.rollup({
    entry: 'dist/esm5_for_rollup/umd.js',
    plugins: [
      rollupNodeResolve({
        jsnext: true,
      }),
      rollupInject({
        exclude: 'node_modules/**',
        modules: _.mapValues(tslib, function (value, key) {
          return ['tslib', key];
        }),
      }),
    ],
  }).then(function (bundle) {
    var result = bundle.generate({
      format: 'umd',
      moduleName: 'elad',
      sourceMap: true
    });
  
    fs.writeFileSync('dist/global/elad.umd.js', result.code);
    fs.writeFileSync('dist/global/elad.umd.js.map', result.map);
  });
  