Skip to content

About "PWA-plugin" : set manifest base path for <link rel="manifest" /> #5953

Open
@Dante-dan

Description

@Dante-dan

What problem does this feature solve?

In production , we usually set static resource on CDN. So, we set a property publicPath.

But, start_url in 'manifest.json` has been required to be of the same origin.

So, when we use relative path in 'manifestPath' and use publicPath in webpack.

PWA cann't working

What does the proposed API look like?

pwa.manifestUseRelative = true; // default false

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