Skip to content

Upgrading Workbox to v6 and above #18

@Transfusion

Description

@Transfusion

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions