rollup-plugin-weblinks
Plugin for Rollup to bundle web-based resources
This is how you can use it:
const rollup = ;const rollupPluginWeblinks = ; const inputOptions = input: 'https://raw.githubusercontent.com/enlightenmentor/pc-build/master/public/app.js' plugins: ;const outputOptions = file: 'test/bundle.js' format: 'iife' { // create a bundle const bundle = await rollup; // generate code and a sourcemap const code map = await bundle; // or write the bundle to disk await bundle;} ;