umd-bundle-string
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

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);
  });

Readme

Keywords

none

Package Sidebar

Install

npm i umd-bundle-string

Weekly Downloads

2

Version

1.4.0

License

MIT

Unpacked Size

29.7 kB

Total Files

13

Last publish

Collaborators

  • rockmandash