Skip to content
This repository was archived by the owner on Jan 23, 2021. It is now read-only.
This repository was archived by the owner on Jan 23, 2021. It is now read-only.

Give more abstraction to the filesystem #369

Description

@FranckFreiburger

currently, sw-precache uses 'fs' (fs.statSync, fs.readFileSync, fs.realpathSync, fs.readFileSync, fs.readFile, fs.writeFile) to access files, whereas, in dev mode, webpack uses a memory filesystem.
In order to allow test sw-precache in dev mode, it could be conviennent to allow sw-precache to use this memory filesystem.

Proposed API:
add a new optional fs entry in params of generate(params, callback) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions