umd-bundle-string
v1.4.0
Published
Give me an entry file, and I will give you a umd bundle string.
Downloads
10
Readme
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);
});