Use Case: I want to define a custom import { Strategy } from "workbox-strategies"; (that fetches data from IndexedDB, so I can use the registerRoute syntax of Workbox).
https://developers.google.com/web/tools/workbox/modules/workbox-strategies#custom_strategies
GoogleChrome/workbox#2455
Strategy.ts was only introduced in v6.
Will there be any adverse effects if I simply npm i workbox-strategies@6.1.0, along with all the other related packages?
I'll update this issue after I try shortly.
Use Case: I want to define a custom
import { Strategy } from "workbox-strategies";(that fetches data from IndexedDB, so I can use theregisterRoutesyntax of Workbox).https://developers.google.com/web/tools/workbox/modules/workbox-strategies#custom_strategies
GoogleChrome/workbox#2455
Strategy.tswas only introduced in v6.Will there be any adverse effects if I simply
npm i workbox-strategies@6.1.0, along with all the other related packages?I'll update this issue after I try shortly.