v3.0.0-next.2
Pre-release
Pre-release
Minor Changes
-
Removed the redundant
https://protocol check before registeringsw.js: (33b6672)
This is redundant because this is what ServiceWorker does, as defined by its spec.Removing this allows easy testing of your
sw.js(aka, offline) capabilities because SW also allows thehttpprotocol forlocalhostand127.x.x.xservers (source).# Test your Service Worker~ # Install any server, eg "zeit/serve" $ npm install --save-dev serve # Build your app for production, including sw.js $ preact build # Use "zeit/serve" in SPA-mode on "build" dir $ serve build --single
Chores
- Converted project into monorepo (using
lerna) in preparation for sub-packages - Rearranged / shuffled dependencies for TravisCI + monorepo compat