1.4.0 • Published 4 years ago

umd-bundle-string v1.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Give me an entry file, and I will give you a umd bundle string.

const path = require('path');
const { UMDBundleString } = require('umd-bundle-string');

UMDBundleString(path.resolve(__dirname, './entry.ts'))
  .then(sourceCode => {
    console.log(sourceCode);
  })
  .catch(error => {
    console.log(error);
  });