From b232eee5cd1e8278070d1a5a709ecc6261a58bd7 Mon Sep 17 00:00:00 2001 From: Zak Burke Date: Mon, 13 Nov 2023 16:30:28 -0500 Subject: [PATCH] STCOR-671 provide empty service worker (#1373) `@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 --- CHANGELOG.md | 4 ++++ src/service-worker.js | 2 ++ 2 files changed, 6 insertions(+) create mode 100644 src/service-worker.js diff --git a/CHANGELOG.md b/CHANGELOG.md index b2dcfe74b..4469db4b9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/service-worker.js b/src/service-worker.js new file mode 100644 index 000000000..27b7b26f4 --- /dev/null +++ b/src/service-worker.js @@ -0,0 +1,2 @@ +export default () => 'future of libraries is open'; +