Skip to content

Instantly share code, notes, and snippets.

@webmaxru
Created February 27, 2019 23:04
Show Gist options
  • Save webmaxru/7005b7456533bb24eeafab4838362fd5 to your computer and use it in GitHub Desktop.
Save webmaxru/7005b7456533bb24eeafab4838362fd5 to your computer and use it in GitHub Desktop.
Workbox 4: workbox-window. npm run
{
"scripts": {
...
"workbox-build-inject": "node workbox-build-inject.js",
"build-pwa": "ng build --prod && npm run workbox-build-inject"
},
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment