Skip to content

[vite-plugin-pwa] Generated sw.js didn't included in staticFiles. #3487

@mblonyox

Description

@mblonyox

I try using vite-plugin-pwa to handle generating service worker for a Fresh project. After build the project i've checked that the plugin successfully generated the service worker into _fresh/client/sw.js but after running the server, the /sw.js is not found from the web.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions