Skip to content

Commit

Permalink
STCOR-671 provide empty service worker (#1373)
Browse files Browse the repository at this point in the history
`@folio/stripes-webpack` still looks for `service-worker.js`, so we
provide a dummy function here to keep the API intact. This API is never
invoked; this service worker is never registered (though it wouldn't
matter since it doesn't listen for any events).

Refs STCOR-671
  • Loading branch information
zburke authored Nov 13, 2023
1 parent 8ea3189 commit b232eee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change history for stripes-core

## 10.0.4 IN PROGRESS

* Provide empty `service-worker.js`. Refs STCOR-671.

## [10.0.3](https://github.com/folio-org/stripes-core/tree/v10.0.3) (2023-11-10)
[Full Changelog](https://github.com/folio-org/stripes-core/compare/v10.0.2...v10.0.3)

Expand Down
2 changes: 2 additions & 0 deletions src/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export default () => 'future of libraries is open';

0 comments on commit b232eee

Please sign in to comment.