Rollup plugin to generate Web Bundles and signed Web Bundles (Isolated Web Apps). Version 0.2.0 is alpha; requires Node >=16, Rollup >=1.21.0 <4.0.0. Supports both unsigned (WBN) and signed (SWBN) bundles via integration with wbn-sign. Plugins for general web packaging and Chrome's Isolated Web Apps. No other Rollup WebBundle plugins exist, making this the primary option but highly experimental. Release cadence is low.
npm install rollup-plugin-webbundleVerified import paths — ran on the pinned version, not inferred.
Creates a Web Bundle from a Rollup build. The example sets baseURL and includes a static directory.
Set formatVersion: 'b1' if you need backward compatibility.
None yet; follow GitHub releases.
Downgrade Rollup to 3.x or wait for plugin update.
Use Node >=16.0.0.
Run 'npm install rollup-plugin-webbundle --save-dev'. If using CJS, ensure Node >=14 and rollup config uses .mjs or type:'module'.
Use 'import webbundle from 'rollup-plugin-webbundle'' instead of 'import { webbundle } from 'rollup-plugin-webbundle''.Install Rollup 3.x with 'npm install rollup@3' or wait for plugin update.