bundler.js
async function bundleJavaScript() {
    const bundle = await rollup.rollup({
        input: `${__dirname}/src/beedle.js`,
        plugins: [
            uglify()
        ]
    });

    await bundle.write({
        format: 'umd',
        name: 'beedle',
        file: 'beedle.js',
        dir: `${__dirname}/dist/`,
    });
}
async function bundleJavaScript() {
    const bundle = await rollup.rollup({
        input: `${__dirname}/src/beedle.js`,
        plugins: [
            uglify()
        ]
    });

    await bundle.write({
        format: 'umd',
        name: 'beedle',
        file: 'beedle.js',
        dir: `${__dirname}/dist/`,
    });
}
async function bundleJavaScript ( ) { const bundle = await rollup . rollup ( { input : ` ${ __dirname } ` , plugins : [ uglify ( ) ] } ) ; await bundle . write ( { format : 'umd' , name : 'beedle' , file : 'beedle.js' , dir : ` ${ __dirname } ` , } ) ; }
Bundle the JavaScript components together and smoosh them with uglify
Bundle the JavaScript components together and smoosh them with uglify