Skip to content

Tools

Published

PWA tools generate service workers and manifests, package apps for stores, and audit the result. The four kinds of tool serve different purposes. Service worker libraries handle routing and caching; build plugins generate the files, store packagers prepare submissions, and auditors check the output.

These tools are optional. A hand-written manifest and a short service worker meet the Chromium installability criteria. The tools exist to generate those files from a build, to wrap the result in a store package, and to check the output.

Service worker libraries and build plugins

Section titled “Service worker libraries and build plugins”

Workbox is Google’s set of modules for routing and caching in a service worker, published as separate packages (workbox-window, workbox-streams or workbox-range-request among them). Workbox 7.4.1 was published 2026-05-05; the 7.0.0 line raised the minimum to Node 16. The 7.3 and 7.4 releases are described as dependency updates. Vite PWA (vite-plugin-pwa, 1.2.0, MIT) wraps Workbox for Vite projects: it injects the web app manifest, generates the service worker, reloads on new content, and ships integrations for SvelteKit, VitePress, Astro, Nuxt 3, Remix, and îles. The trade-off of a generated worker is that its precache list grows with every hashed asset, so a large build precaches files a user may not open.

Vite PWA Workbox is a separate fork of Google Workbox maintained by the Vite PWA project. Its scoped packages @vite-pwa/workbox-build and @vite-pwa/workbox-cli require Node 22.14.0 or later and Rolldown 1.0.0 or later. Vite 8 supplies Rolldown; the generateSW strategy also requires magicast 0.5.0 or later. These are the fork’s requirements, not the requirements of Google’s workbox-* packages.

Migration needs a build review. In the fork, injectManifest injects the precache manifest but does not compile the service worker. Use its buildSW strategy when the tool must compile the worker and optionally inject that manifest. The fork also documents removal of offline Google Analytics support and says its workbox-sw CDN distribution is not yet available. Check these differences before replacing an existing Workbox setup.

unplugin-pwa separates PWA integration into reusable core packages and bundler adapters. These include @unplugin-pwa/core and @unplugin-pwa/vite. The project distinguishes operational Vite integrations from preview support for other tools: Webpack / Rspack / Rsbuild / Next.js. Its repository warns that those previews are not ready for production use. React Router and TanStack have dedicated @vite-pwa/react-router and @vite-pwa/tanstack packages. Their documentation pages still contain work-in-progress notices in the sources checked on 2026-11-21. Check the package-specific setup instructions before adopting them; a package listing is not evidence that every framework and bundler combination is supported.

Bubblewrap is the command-line generator for a Trusted Web Activity project; PWABuilder’s Android output is “powered by Bubblewrap and uses the same underlying core”. It requires Node.js 14.15.0 or later and JDK 17, and offers to download the JDK and Android command-line tools on first run. init reads a web manifest and writes twa-manifest.json; build produces app-release-signed.apk and app-release-bundle.aab; update regenerates the Android project after a manifest edit; validate checks the PWA against the TWA quality criteria; fingerprint generateAssetLinks writes the assetlinks.json to host; doctor confirms the JDK and SDK paths and versions. The cost is a signing key you must keep for the life of the listing, because the asset-links fingerprint is derived from it.

PWABuilder is the route Microsoft documents. In its English UI, enter the URL under Ship your PWA to app stores and click Start; fix anything in the report card’s Action Items; click Package For Stores; under Windows click Generate Package; in Windows Package Options paste three values copied from Partner Center: Package ID / Publisher display name / Publisher ID; click Download Package. The download is a .zip containing an .msixbundle and a .classic.appxbundle, both of which go into the Packages step of the Partner Center submission. A manifest change requires repeating the flow; a code change does not.

Lighthouse runs from the DevTools Lighthouse panel, from the CLI after npm install -g lighthouse, as a Node module in CI, or through PageSpeed Insights, and reports four categories: Performance / Accessibility / Best Practices / SEO. It no longer audits installability: release 12.0.0 (2024-04-22) states “As per Chrome’s updated Installability Criteria, Lighthouse has removed the PWA category” and points to the DevTools PWA documentation instead. The manifest and service worker checks live in DevTools > Application. Bubblewrap’s validate command is the remaining automated check that a PWA meets the Trusted Web Activity criteria.

Tool Role Version read Requirement
Workbox Service worker routing and caching 7.4.1 (2026-05-05) Node 16 or later for the build tooling
Vite PWA Manifest and worker generation at build time 1.2.0 Vite
Bubblewrap TWA project generator and signer CLI README, 2026-10 Node.js 14.15.0 or later, JDK 17
PWABuilder Store packages from a URL Web app, 2026-10 Partner Center identity values
Lighthouse Performance, accessibility, best-practice, SEO audits 12.0.0 removed the PWA category Chrome, or Node for the CLI

← Back to the Ecosystem overview.