0.0.8 • Published 6 years ago

cra-replace-service-worker v0.0.8

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

This package replaces Create React App's service worker with you own service worker without ejecting. This package also adds a variable 'PRECACHE_FILES' to your custom service worker. It contains a list of file-paths to all CRA files generated inside the 'build'-folder.

#Usage# In your package.json under scripts add the following:

"replace-sw": "cra-replace-service-worker ./src/your-custom-sw.js"

Enjoy!

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago