Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. const swPrecache = require('sw-precache')
  2. swPrecache.write('./public/service-worker.js', {
  3. root: './public/',
  4. staticFileGlobs: ['./public/**/*'],
  5. stripPrefix: './public/'
  6. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement