Skip to content

@vite-pwa/workbox-cli ​

The modern toolkit for modern web apps. @vite-pwa/workbox-cli provides the essential, ESM-powered command-line interface you need to build rock-solid, offline-ready Progressive Web Apps right from your terminal.

Requirements ​

@vite-pwa/workbox-cli requires Node 22.14.0 or above.

You need to install the following dependencies to run @vite-pwa/workbox-cli:

  • Rolldown 1.0.0 or above: if you've installed Vite 8 or above, you don't need to install Rolldown as a dependency, because Vite 8 uses Rolldown; you need to install Rolldown when using Webpack, Rspack, or Rsbuild.
  • magicast 0.5.0 or above: when using the generateSW strategy only.

Released under the MIT License.