UNPKG

sw-builder

Version:

The sw-builder package automates the creation of your Application's Service Worker, which pre-caches your build. This leads to a better overall performance and enables users to access your PWA without an Internet connection.

2 lines 225 B
#! /usr/bin/env node import process from"node:process";import{parseArgs}from"argv-utils";import{run}from"./build/index.js";(()=>{try{run(parseArgs(process.argv)),process.exit(0)}catch(r){console.error(r),process.exit(1)}})();