Prepare your application for PWA features
This library reads the files that will be published, adds hashes to the files, generates the cache of your files (service worker).
Install with npm
$ npm install -g pwa-prepare
NOTE: Install this npm package with -g
to global use or with -D
to add the package as a devDependency in the package.json
file of your project.
Install with Yarn
$ yarn add pwa-prepare
Usage
$ pwa-prepare dist
NOTE: dist
is output by default when output is undefined
$ pwa-prepare --help
Usage:
$ pwa-prepare [<output>] [<options>]
Options:
-h, --help Display help information
-v, --version Output version
Examples:
$ pwa-prepare
$ pwa-prepare dist
Want to contribute? Follow these recommendations.
Designed with ♥ by CJ Patoilo. Licensed under the MIT License.