Service worker playground
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
offline_cache
pie_chart_image_proxy
push_notification
.babelrc
.env.sample
.eslintignore
.eslintrc
.gitignore
.node-version
LICENSE
README.md
package.json
webpack.config.js
webpush-server.js
yarn.lock

README.md

Service worker playground

Getting started

First, put .env to config your environment.

$ cp ./.env{.sample,}
$ vi ./.env

And install packages and start server:

$ yarn install
$ yarn start

That's it. You'll access to below URLs.

For development

For compiling worker script, we use iframe mode in webpack-dev-server. You could access to http://127.0.0.1:8080/webpack-dev-server/*/ if you want to develop with hot reloading feature.

Author

Yuki Hattori (@yhatt)

License

This plugin releases under the WTFPL License.