angular-cn/packages/service-worker
Alex Rickabaugh b10540a0b5 feat(service-worker): add helper script which will uninstall SW (#21863)
Service Workers can be tricky to work with in production, and often
it becomes necessary to deactivate an existing SW. This is trickier
than one might imagine - as long as clients on the old SW may exist
it is important to serve some script at the old SW URL. This commit
adds safety-worker.js to the published NPM package, which is useful
for that purpose. On install the SW unregisters itself which safely
and gradually allows older clients to update.

PR Close #21863
2018-01-30 11:43:03 -08:00
..
cli refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
config build: remove `main()` from specs (#21053) 2017-12-22 13:10:51 -08:00
src fix(service-worker): ensure initialised in browser only (#20782) 2017-12-06 06:55:33 -08:00
test build: Remove angular_src nested workspace (#21096) 2018-01-19 10:17:37 -08:00
testing build: update to latest bazel rules (#21821) 2018-01-27 10:55:44 -08:00
worker build: move repeated tsconfig attributes to a macro (#20964) 2018-01-10 12:30:19 -08:00
BUILD.bazel build: move repeated tsconfig attributes to a macro (#20964) 2018-01-10 12:30:19 -08:00
build.sh feat(service-worker): add helper script which will uninstall SW (#21863) 2018-01-30 11:43:03 -08:00
index.ts fix(aio): add service worker entrypoint to aio build (#19875) 2017-10-23 19:31:42 -04:00
package.json fix(service-worker): ensure initialised in browser only (#20782) 2017-12-06 06:55:33 -08:00
public_api.ts feat(service-worker): introduce the @angular/service-worker package (#19274) 2017-09-28 16:18:12 -07:00
rollup.config.js fix(service-worker): ensure initialised in browser only (#20782) 2017-12-06 06:55:33 -08:00
safety-worker.js feat(service-worker): add helper script which will uninstall SW (#21863) 2018-01-30 11:43:03 -08:00
tsconfig-build.json fix(service-worker): ensure initialised in browser only (#20782) 2017-12-06 06:55:33 -08:00